Current selected element not displayed in newer jquery versions
Current selected element not displayed in newer jquery versions

... without jquery.migrate.
It's because it's using `that.$el.attr("selected") == "selected"` on single selects.
I have changed that to `$elm.prop('selected')` (same as on multi selects) and it works fine for me but I don't know why it was explicitly using another element variable and the `attr()` function for `selected`.
M1K3YLIK3SI7/multiple-select,wenzhixin/multiple-select,PeterDaveHello/multiple-select,richlloydmiles/multiple-select,vfigueiro/multiple-select,mwang0308/multiple-select,UziTech/multiple-select,richlloydmiles/multiple-select,M1K3YLIK3SI7/multiple-select,YechengZhou/multiple-select,delaetthomas/multiple-select,avinoth/multiple-select,wenzhixin/multiple-select,jianlinwei/multiple-select,wenzhixin/multiple-select,avinoth/multiple-select,YechengZhou/multiple-select,jianlinwei/multiple-select,mwang0308/multiple-select,delaetthomas/multiple-select,PeterDaveHello/multiple-select,prog666/multiple-select,vfigueiro/multiple-select,UziTech/multiple-select,prog666/multiple-select