minor tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7d1c76cb71
commit
21f969a431
@ -858,6 +858,11 @@ var Gallery = {
|
|||||||
var that = this
|
var that = this
|
||||||
this.dom = dom
|
this.dom = dom
|
||||||
|
|
||||||
|
// prevent clicks in toolbar from affecting the gallery...
|
||||||
|
this.dom.querySelector('.toolbar')
|
||||||
|
.addEventListener('click', function(evt){
|
||||||
|
evt.stopPropagation() })
|
||||||
|
// image clicks...
|
||||||
this.dom.querySelector('.images')
|
this.dom.querySelector('.images')
|
||||||
.addEventListener('click', function(evt){
|
.addEventListener('click', function(evt){
|
||||||
evt.stopPropagation()
|
evt.stopPropagation()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user