1
0
mirror of synced 2024-11-22 04:56:08 +03:00

on clear cleared tooltip too when placeholder present

This commit is contained in:
shivamgupta001 2017-01-12 01:21:23 +05:30 committed by alexweissman
parent ef2ef8b685
commit e2c654b0ec

View File

@ -66,7 +66,9 @@ define([
};
SingleSelection.prototype.clear = function () {
this.$selection.find('.select2-selection__rendered').empty();
this.$selection.find('.select2-selection__rendered').attr('title',''); // clear tooltip on empty
};
SingleSelection.prototype.display = function (data, container) {