Skip to content

Commit 170ca5f

Browse files
committed
Fixed the title attribute for choices on "multiple" widgets.
1 parent a954bae commit 170ca5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/js/select2/selection/multiple.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ define([
8585
var $selection = this.selectionContainer();
8686

8787
$selection.append(formatted);
88-
$selection.prop('title', selection.title);
88+
$selection.prop('title', selection.title || selection.text);
8989

9090
$selection.data('data', selection);
9191

0 commit comments

Comments
 (0)