angularjs-dropdown-multiselect
angularjs-dropdown-multiselect copied to clipboard
Replacing className.split with target.hasClass()
Instead of checking if className is an actual string in e.target object representing a DOM element (it's not a string in a highcharts graph for example or other sofisticated representations in the Document, I propose wrapping e.target with an angular provided jquery/jqlite object and use provided hasClass() method instead, which propably makes "contains" function redundant