Fixed the title attribute for choices on "multiple" widgets.
This commit is contained in:
parent
a954bae228
commit
170ca5f57b
2
src/js/select2/selection/multiple.js
vendored
2
src/js/select2/selection/multiple.js
vendored
@ -85,7 +85,7 @@ define([
|
||||
var $selection = this.selectionContainer();
|
||||
|
||||
$selection.append(formatted);
|
||||
$selection.prop('title', selection.title);
|
||||
$selection.prop('title', selection.title || selection.text);
|
||||
|
||||
$selection.data('data', selection);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user