mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +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')
|
e.classList.add('list')
|
||||||
|
|
||||||
// localize events...
|
// localize events...
|
||||||
|
var stopPropagation = function(evt){ evt.stopPropagation() }
|
||||||
;(options.localEvents || this.options.localEvents || [])
|
;(options.localEvents || this.options.localEvents || [])
|
||||||
.forEach(function(evt){
|
.forEach(function(evt){
|
||||||
e.addEventListener(evt, function(evt){ evt.stopPropagation() }) })
|
e.addEventListener(evt, stopPropagation) })
|
||||||
|
|
||||||
// header...
|
// header...
|
||||||
if(header){
|
if(header){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user