Created
August 23, 2015 14:54
-
-
Save thomasJang/b38bda9979acc452dea5 to your computer and use it in GitHub Desktop.
axisj get_event_target
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e = e || window.event; | |
var target = axf.get_event_target(e.target, function(el){ | |
if(axdom(el).hasClass("AXTag-selector-tagitem-remove")){ | |
event_type = "remove"; | |
return true; | |
} | |
else | |
if(axdom(el).hasClass("AXTag-selector-tagitem")){ | |
event_type = "item"; | |
return true; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment