mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-06 22:29:44 +08:00
stopped most click events
This commit is contained in:
10
dist/ionic.js
vendored
10
dist/ionic.js
vendored
@ -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
|
||||
|
||||
10
js/events.js
10
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
|
||||
|
||||
Reference in New Issue
Block a user