зеркало из https://github.com/mozilla/gecko-dev.git
Bug 952042 - Remove fake focus-ring after findbar is closed. r=mikedeboer
This commit is contained in:
Родитель
53bdd2dbc1
Коммит
9df9d0ea45
|
@ -116,15 +116,12 @@ Finder.prototype = {
|
|||
|
||||
enableSelection: function() {
|
||||
this._fastFind.setSelectionModeAndRepaint(Ci.nsISelectionController.SELECTION_ON);
|
||||
this._restoreOriginalOutline();
|
||||
},
|
||||
|
||||
removeSelection: function() {
|
||||
let fastFind = this._fastFind;
|
||||
|
||||
fastFind.collapseSelection();
|
||||
this._fastFind.collapseSelection();
|
||||
this.enableSelection();
|
||||
|
||||
this._restoreOriginalOutline();
|
||||
},
|
||||
|
||||
focusContent: function() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче