Damn semicolons

This commit is contained in:
Ruud committed 2014-12-05 14:44:12 +01:00
1 parent d6cfcae45b
commit 5145618c39
27 files changed
+261 -263

No files matched your search

+4 -5
View File
@@ -25,16 +25,15 @@ var BlockMenu = new Class({
self.el.addEvent('outerClick', self.removeOuterClick.bind(self));
this.addEvent('outerClick', function(e){
if(e.target.get('tag') != 'input')
self.removeOuterClick()
})
self.removeOuterClick();
});
}
else
self.removeOuterClick()
self.removeOuterClick();
}
}
})
)
);
},
@@ -20,7 +20,7 @@ var BlockNavigation = new Class({
'text': 'back to top',
'events': {
'click': function(){
window.scroll(0,0)
window.scroll(0,0);
}
},
'tween': {
@@ -32,10 +32,10 @@ var BlockNavigation = new Class({
new ScrollSpy({
min: 400,
onLeave: function(){
self.backtotop.fade('out')
self.backtotop.fade('out');
},
onEnter: function(){
self.backtotop.fade('in')
self.backtotop.fade('in');
}
});
@@ -44,7 +44,7 @@ var BlockNavigation = new Class({
if($(document.body).getParent().hasClass('menu_shown'))
self.toggleMenu();
}
})
});
},
@@ -53,7 +53,7 @@ var BlockNavigation = new Class({
return new Element('li.tab_'+(name || 'unknown')).grab(
new Element('a', tab)
).inject(self.nav)
).inject(self.nav);
},