More menu styling

Logs link fix
This commit is contained in:
Ruud
2012-03-05 07:50:49 +01:00
parent 58f132546d
commit 18510cbd38
4 changed files with 19 additions and 17 deletions
+3 -3
View File
@@ -27,11 +27,11 @@ Block.More = new Class({
new Element('a.button.onlay', {
'events': {
'click': function(){
self.more_option_ul.toggleClass('show')
self.el.toggleClass('show')
if(self.more_option_ul.hasClass('show'))
if(self.el.hasClass('show'))
this.addEvent('outerClick', function(){
self.more_option_ul.removeClass('show')
self.el.removeClass('show')
this.removeEvents('outerClick');
})
else