mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
new menu. it's pretty. it should work.
git-svn-id: http://www.observium.org/svn/observer/trunk@2408 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
$(document).ready(function(){
|
||||
$('script.code').each(function(index) {
|
||||
if ($('pre.code').eq(index).length ) {
|
||||
$('pre.code').eq(index).text($(this).html());
|
||||
}
|
||||
else {
|
||||
var str = $(this).html();
|
||||
$('div.jqplot-target').eq(index).after($('<pre class="code">'+str+'</pre>'));
|
||||
}
|
||||
});
|
||||
$(document).unload(function() {$('*').unbind(); });
|
||||
});
|
||||
Reference in New Issue
Block a user