aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2016-08-10 13:29:12 +0200
committerAlex Legler <alex@a3li.li>2016-08-10 13:29:12 +0200
commitcb40933d41d3a5834d1c978970c925fa35a6dc12 (patch)
tree08937f2cb4d65e49b55708bf1af593ec1f0b2466 /app
parentBegin transition to inline SVG octicons (diff)
downloadpackages-cb40933d41d3a5834d1c978970c925fa35a6dc12.tar.gz
packages-cb40933d41d3a5834d1c978970c925fa35a6dc12.tar.bz2
packages-cb40933d41d3a5834d1c978970c925fa35a6dc12.zip
Remove popover keyword legend, link instead
Doesn't work properly on XS screens
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/packages/show.js12
-rw-r--r--app/views/packages/_versions.html.erb4
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>