info view: after doubleclick, remove text selection
This commit is contained in:
parent
9da3310608
commit
83c1ca111f
1 changed files with 7 additions and 0 deletions
|
@ -431,6 +431,13 @@ pandora.ui.infoView = function(data) {
|
|||
}
|
||||
}, key == 'groups' ? {
|
||||
doubleclick: function() {
|
||||
setTimeout(function() {
|
||||
if (window.getSelection) {
|
||||
window.getSelection().removeAllRanges();
|
||||
} else if (document.selection) {
|
||||
document.selection.empty();
|
||||
}
|
||||
});
|
||||
pandora.$ui.groupsDialog = pandora.ui.groupsDialog({
|
||||
id: data.id,
|
||||
name: data.title,
|
||||
|
|
Loading…
Reference in a new issue