mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-19 00:29:21 +01:00
Fix toggle_menu undefined error
This commit is contained in:
parent
31f6189f4a
commit
cbaa1eadfd
1 changed files with 3 additions and 1 deletions
|
@ -75,7 +75,9 @@ var LSdefault = new Class({
|
||||||
this.initializeLang();
|
this.initializeLang();
|
||||||
|
|
||||||
this.toggle_menu = $('toggle-menu');
|
this.toggle_menu = $('toggle-menu');
|
||||||
this.toggle_menu.addEvent('click', this.toggleMenu.bind(this));
|
if (this.toggle_menu) {
|
||||||
|
this.toggle_menu.addEvent('click', this.toggleMenu.bind(this));
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
initializeLang: function() {
|
initializeLang: function() {
|
||||||
|
|
Loading…
Reference in a new issue