mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00: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
1d515cb4ad
commit
5fa0aba3f9
@ -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