Commit 5fa3a4ce authored by miripiruni's avatar miripiruni

simplified shower._checkInteractiveElement()

parent f140afab
......@@ -128,11 +128,7 @@ window.shower = (function(window, document, undefined) {
* @returns {Boolean}
*/
shower._checkInteractiveElement = function(e) {
if ('A' === e.target.nodeName) {
return true;
} else {
return false;
}
return 'A' === e.target.nodeName;
};
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment