From abf2f76c1f5e079fc36e482bb471227bf69d4b65 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Tue, 24 Sep 2013 15:22:20 -0500 Subject: [PATCH] stopped most click events --- dist/ionic.js | 10 +++++----- js/events.js | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dist/ionic.js b/dist/ionic.js index 2522d27517..8e4de8f16b 100644 --- a/dist/ionic.js +++ b/dist/ionic.js @@ -164,11 +164,11 @@ if ( document.readyState === "complete" ) { || e.metaKey || e.ctrlKey //|| isScrolling - || location.protocol !== target.protocol - || location.host !== target.host - // Not sure abotu this one - //|| !target.hash && /#/.test(target.href) - || target.hash && target.href.replace(target.hash, '') === location.href.replace(location.hash, '') + // || location.protocol !== target.protocol + // || location.host !== target.host + // // Not sure abotu this one + // //|| !target.hash && /#/.test(target.href) + // || target.hash && target.href.replace(target.hash, '') === location.href.replace(location.hash, '') //|| target.getAttribute('data-ignore') == 'push' ) { // Allow it diff --git a/js/events.js b/js/events.js index ce0d5bebcb..0a5c894e91 100644 --- a/js/events.js +++ b/js/events.js @@ -75,11 +75,11 @@ || e.metaKey || e.ctrlKey //|| isScrolling - || location.protocol !== target.protocol - || location.host !== target.host - // Not sure abotu this one - //|| !target.hash && /#/.test(target.href) - || target.hash && target.href.replace(target.hash, '') === location.href.replace(location.hash, '') + // || location.protocol !== target.protocol + // || location.host !== target.host + // // Not sure abotu this one + // //|| !target.hash && /#/.test(target.href) + // || target.hash && target.href.replace(target.hash, '') === location.href.replace(location.hash, '') //|| target.getAttribute('data-ignore') == 'push' ) { // Allow it