mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-26 02:48:28 +00:00
Generated minified JS and some formatting
This commit is contained in:
parent
3533615be4
commit
23f940fede
6 changed files with 217 additions and 191 deletions
2
templates/munstrap/static/js/munstrap.min.js
vendored
Normal file
2
templates/munstrap/static/js/munstrap.min.js
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
$("ul#tabs>li>a").each(function(a){a=$(this).attr("href").replace(/[^#\w]/gi,"_");$(this).attr("href",a)});$("div#munin_nodeview_tab>div").each(function(a){a=$(this).attr("id").replace(/[^\w]/gi,"_");$(this).attr("id",a)});$(document).ready(function(){location.hash&&$('a[href="'+location.hash+'"]').tab("show");$(document.body).on("click","a[data-toggle=tab]",function(a){location.hash=this.getAttribute("href")})});
|
||||
$(window).on("popstate",function(){var a=location.hash||$("a[data-toggle=tab]").first().attr("href");$('a[href="'+a+'"]').tab("show")});
|
Loading…
Add table
Add a link
Reference in a new issue