From e4fe8a980ca2d86486e804f8136e78dac932806c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gijs=20Rog=C3=A9?= Date: Tue, 23 Jun 2015 12:33:59 +0200 Subject: [PATCH] released v0.1.3 Removed hardcoded selector. --- src/owl.carousel2.thumbs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/owl.carousel2.thumbs.js b/src/owl.carousel2.thumbs.js index 1e6c90f..7f11a80 100644 --- a/src/owl.carousel2.thumbs.js +++ b/src/owl.carousel2.thumbs.js @@ -122,7 +122,7 @@ } //check what thumbitem has been clicked and move slider to that item - $(this._thumbcontent._thumbcontainer).on('click', 'button', $.proxy(function (e) { + $(this._thumbcontent._thumbcontainer).on('click', this._thumbcontent._thumbcontainer.children(), $.proxy(function (e) { // find relative slider this._identifier = $(e.target).closest('.' + options.thumbContainerClass).data('slider-id');