angularjs-dropdown-multiselect icon indicating copy to clipboard operation
angularjs-dropdown-multiselect copied to clipboard

Replacing className.split with target.hasClass()

Open dipapazacharias opened this issue 7 years ago • 0 comments

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

dipapazacharias avatar Sep 19 '17 16:09 dipapazacharias