mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
Fix event handler declaration accessing global icinga object
This commit is contained in:
parent
c846c7c3f8
commit
070573b9c0
@ -81,7 +81,7 @@
|
|||||||
$( window ).on('beforeunload', { self: this }, this.onUnload);
|
$( window ).on('beforeunload', { self: this }, this.onUnload);
|
||||||
|
|
||||||
// We catch scroll events in our containers
|
// We catch scroll events in our containers
|
||||||
$('.container').on('scroll', icinga.events.onContainerScroll);
|
$('.container').on('scroll', this.icinga.events.onContainerScroll);
|
||||||
|
|
||||||
// We want to catch each link click
|
// We want to catch each link click
|
||||||
$(document).on('click', 'a', { self: this }, this.linkClicked);
|
$(document).on('click', 'a', { self: this }, this.linkClicked);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user