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);
|
||||
|
||||
// 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
|
||||
$(document).on('click', 'a', { self: this }, this.linkClicked);
|
||||
|
|
Loading…
Reference in New Issue