diff options
Diffstat (limited to 'js/build/app.js')
-rw-r--r-- | js/build/app.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/js/build/app.js b/js/build/app.js index 2725a18a1..180bde700 100644 --- a/js/build/app.js +++ b/js/build/app.js @@ -882,6 +882,22 @@ var $__build_47_app__ = function () { } }); }(window, document, jQuery)); + (function (window, document, $) { + 'use strict'; + $(document).ready(function () { + var buttons = $(':not([data-app-slide-toggle-area=""])'); + $(document).click(function (event) { + buttons.each(function (index, button) { + console.log(button); + var area = $(button).data('app-slide-toggle-area'); + if (button === event.target) { + console.log(area); + event.stopPropagation(); + } + }); + }); + }); + }(window, document, jQuery)); var call = Function.prototype.call.bind(Function.prototype.call); var hasOwn = Object.prototype.hasOwnProperty; window.items = function (obj) { |