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