summaryrefslogtreecommitdiffstats
path: root/js/build
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-23 17:55:30 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-23 17:55:30 +0200
commit6208debf043fc8af28de13515dec4d10ace99bc3 (patch)
tree3d1cfc3a94b622f5fc7c65fac0a8f9fb8aadfb37 /js/build
parent4fa9c6d6cfc24b848bc8bb1526ef8ef50f046cb3 (diff)
use firefox for ci and e2e
Diffstat (limited to 'js/build')
-rw-r--r--js/build/app.js16
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) {