diff options
author | Alex Legler <alex@a3li.li> | 2016-08-10 13:29:12 +0200 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2016-08-10 13:29:12 +0200 |
commit | cb40933d41d3a5834d1c978970c925fa35a6dc12 (patch) | |
tree | 08937f2cb4d65e49b55708bf1af593ec1f0b2466 | |
parent | Begin transition to inline SVG octicons (diff) | |
download | packages-5-cb40933d41d3a5834d1c978970c925fa35a6dc12.tar.gz packages-5-cb40933d41d3a5834d1c978970c925fa35a6dc12.tar.bz2 packages-5-cb40933d41d3a5834d1c978970c925fa35a6dc12.zip |
Remove popover keyword legend, link instead
Doesn't work properly on XS screens
-rw-r--r-- | app/assets/javascripts/packages/show.js | 12 | ||||
-rw-r--r-- | app/views/packages/_versions.html.erb | 4 |
2 files changed, 0 insertions, 16 deletions
diff --git a/app/assets/javascripts/packages/show.js b/app/assets/javascripts/packages/show.js index 01f5300..c964fdb 100644 --- a/app/assets/javascripts/packages/show.js +++ b/app/assets/javascripts/packages/show.js @@ -9,16 +9,4 @@ $(function() { }).fail(function() { $('#changelog-container > li').html('<span class="fa fa-fw fa-3x fa-ban text-danger"></span><br><br>Changelog currently not available. Please check back later.'); }); - - $('#kk-keyword-legend-btn').popover({ - content: function(btn) { - return $('#kk-keyword-legend-text').html(); - }, - html: true, - trigger: 'toggle' - }); - - $('#kk-keyword-legend-btn').click(function() { - return false; - }); }); diff --git a/app/views/packages/_versions.html.erb b/app/views/packages/_versions.html.erb index 3484dc4..9723924 100644 --- a/app/views/packages/_versions.html.erb +++ b/app/views/packages/_versions.html.erb @@ -32,7 +32,3 @@ </table> </div> </div> - -<script id="kk-keyword-legend-text" type="text/template"> -<%= render partial: 'keyword_legend' %> -</script> |