mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-21 06:37:30 +09:00
[Pale-Moon] Issue #1824 - Fix broken page style menu selection for alternative style sheets
Missing `return` in anonymous function which checks if the given style sheet title is present in the document's style sheet array.
This commit is contained in:
parent
aa1210518c
commit
194f96855e
1 changed files with 1 additions and 1 deletions
|
|
@ -5637,7 +5637,7 @@ var gPageStyleMenu = {
|
||||||
_stylesheetInFrame: function(frame, title) {
|
_stylesheetInFrame: function(frame, title) {
|
||||||
return Array.some(frame.document.styleSheets,
|
return Array.some(frame.document.styleSheets,
|
||||||
function(stylesheet) {
|
function(stylesheet) {
|
||||||
stylesheet.title == title
|
return stylesheet.title == title;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue