simplified shower._checkInteractiveElement()
This commit is contained in:
parent
f140afabd2
commit
5fa3a4ce47
|
@ -128,11 +128,7 @@ window.shower = (function(window, document, undefined) {
|
||||||
* @returns {Boolean}
|
* @returns {Boolean}
|
||||||
*/
|
*/
|
||||||
shower._checkInteractiveElement = function(e) {
|
shower._checkInteractiveElement = function(e) {
|
||||||
if ('A' === e.target.nodeName) {
|
return 'A' === e.target.nodeName;
|
||||||
return true;
|
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue