Putting document.ready back
This commit is contained in:
parent
80c5c5c9f5
commit
d04e8eff00
1 changed files with 10 additions and 8 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
-# the COPYRIGHT file.
|
-# the COPYRIGHT file.
|
||||||
|
|
||||||
:javascript
|
:javascript
|
||||||
|
$(document).ready(function(){
|
||||||
$("#settings_nav li > a").live("click", function() {
|
$("#settings_nav li > a").live("click", function() {
|
||||||
var target = "#"+$(this).attr('class');
|
var target = "#"+$(this).attr('class');
|
||||||
if( !$(target).is(":visible") ) {
|
if( !$(target).is(":visible") ) {
|
||||||
|
|
@ -11,6 +12,7 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
#section_header
|
#section_header
|
||||||
%h2
|
%h2
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue