mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 824743 - Wrong stylesheet check while opening the respective editor, r=msucan
This commit is contained in:
parent
55d2c73fa0
commit
e7aec72580
@ -400,7 +400,7 @@ StyleEditorChrome.prototype = {
|
||||
onEditorAdded: function SEC_selectSheet_onEditorAdded(aChrome, aEditor) {
|
||||
let sheet = self._styleSheetToSelect.sheet;
|
||||
if ((sheet && aEditor.styleSheet == sheet) ||
|
||||
aEditor.styleSheetIndex == 0) {
|
||||
(aEditor.styleSheetIndex == 0 && sheet == null)) {
|
||||
aChrome.removeChromeListener(this);
|
||||
select(aEditor);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user