mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
now reusing the terminating handler...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
09ce8a4073
commit
8ebc8aa31d
@ -549,9 +549,10 @@ var BrowserPrototype = {
|
||||
e.classList.add('list')
|
||||
|
||||
// localize events...
|
||||
var stopPropagation = function(evt){ evt.stopPropagation() }
|
||||
;(options.localEvents || this.options.localEvents || [])
|
||||
.forEach(function(evt){
|
||||
e.addEventListener(evt, function(evt){ evt.stopPropagation() }) })
|
||||
e.addEventListener(evt, stopPropagation) })
|
||||
|
||||
// header...
|
||||
if(header){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user