From 8735f99aab9e9a44e52ba8287be4bc34c8012ca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Elsd=C3=B6rfer?= Date: Sat, 15 Feb 2014 12:52:30 +0100 Subject: [PATCH] Stop Event.js from messing with global Event objects. Fix #1170. --- lib/event.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/event.js b/lib/event.js index e7790348..84b0f130 100644 --- a/lib/event.js +++ b/lib/event.js @@ -27,10 +27,10 @@ if (typeof(eventjs) === "undefined") var eventjs = Event; (function(root) { "use strict"; // Add custom *EventListener commands to HTMLElements (set false to prevent funkiness). -root.modifyEventListener = true; +root.modifyEventListener = false; // Add bulk *EventListener commands on NodeLists from querySelectorAll and others (set false to prevent funkiness). -root.modifySelectors = true; +root.modifySelectors = false; // Event maintenance. root.add = function(target, type, listener, configure) {