stopped most click events

This commit is contained in:
Adam Bradley
2013-09-24 15:22:20 -05:00
parent c7aa843fd9
commit abf2f76c1f
2 changed files with 10 additions and 10 deletions

10
dist/ionic.js vendored
View File

@ -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

View File

@ -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