mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Fix exception in navigation.js
This commit is contained in:
parent
6c039445f2
commit
08571ce01c
@ -178,7 +178,9 @@
|
||||
* Remove all active elements
|
||||
*/
|
||||
Navigation.prototype.clear = function() {
|
||||
this.$menu.find('.active').removeClass('active');
|
||||
if (this.$menu) {
|
||||
this.$menu.find('.active').removeClass('active');
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user