simplified shower._checkInteractiveElement()

This commit is contained in:
miripiruni 2013-01-20 03:15:53 +04:00
parent f140afabd2
commit 5fa3a4ce47
1 changed files with 1 additions and 5 deletions

View File

@ -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;
}
}; };
/** /**