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.metaKey
|| e.ctrlKey || e.ctrlKey
//|| isScrolling //|| isScrolling
|| location.protocol !== target.protocol // || location.protocol !== target.protocol
|| location.host !== target.host // || location.host !== target.host
// Not sure abotu this one // // Not sure abotu this one
//|| !target.hash && /#/.test(target.href) // //|| !target.hash && /#/.test(target.href)
|| target.hash && target.href.replace(target.hash, '') === location.href.replace(location.hash, '') // || target.hash && target.href.replace(target.hash, '') === location.href.replace(location.hash, '')
//|| target.getAttribute('data-ignore') == 'push' //|| target.getAttribute('data-ignore') == 'push'
) { ) {
// Allow it // Allow it

View File

@ -75,11 +75,11 @@
|| e.metaKey || e.metaKey
|| e.ctrlKey || e.ctrlKey
//|| isScrolling //|| isScrolling
|| location.protocol !== target.protocol // || location.protocol !== target.protocol
|| location.host !== target.host // || location.host !== target.host
// Not sure abotu this one // // Not sure abotu this one
//|| !target.hash && /#/.test(target.href) // //|| !target.hash && /#/.test(target.href)
|| target.hash && target.href.replace(target.hash, '') === location.href.replace(location.hash, '') // || target.hash && target.href.replace(target.hash, '') === location.href.replace(location.hash, '')
//|| target.getAttribute('data-ignore') == 'push' //|| target.getAttribute('data-ignore') == 'push'
) { ) {
// Allow it // Allow it