mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 969668 - Don't show rule count of original source until it's been linked to a file. r=pbrosset
This commit is contained in:
parent
a046a54db7
commit
cd98d0c87a
@ -578,7 +578,7 @@ StyleEditorUI.prototype = {
|
||||
}
|
||||
|
||||
let ruleCount = editor.styleSheet.ruleCount;
|
||||
if (editor.styleSheet.relatedStyleSheet) {
|
||||
if (editor.styleSheet.relatedStyleSheet && editor.linkedCSSFile) {
|
||||
ruleCount = editor.styleSheet.relatedStyleSheet.ruleCount;
|
||||
}
|
||||
if (ruleCount === undefined) {
|
||||
|
Loading…
Reference in New Issue
Block a user