remove unused javascript that's in a view
This commit is contained in:
parent
33c7400919
commit
e04685e7ab
1 changed files with 0 additions and 12 deletions
|
|
@ -5,18 +5,6 @@
|
||||||
- content_for :page_title do
|
- content_for :page_title do
|
||||||
= t('.edit_account')
|
= t('.edit_account')
|
||||||
|
|
||||||
:javascript
|
|
||||||
$(document).ready(function(){
|
|
||||||
$("#settings_nav li > a").live("click", function() {
|
|
||||||
var target = "#"+$(this).attr('class');
|
|
||||||
if( !$(target).is(":visible") ) {
|
|
||||||
$(".settings_pane").fadeOut(200, function() {
|
|
||||||
$(target).delay(200).fadeIn(200);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
#section_header
|
#section_header
|
||||||
%h2
|
%h2
|
||||||
= t('settings')
|
= t('settings')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue