[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:
FranklinDM 2020-08-11 20:43:26 +08:00 committed by Roy Tam
commit 194f96855e

View file

@ -5637,7 +5637,7 @@ var gPageStyleMenu = {
_stylesheetInFrame: function(frame, title) {
return Array.some(frame.document.styleSheets,
function(stylesheet) {
stylesheet.title == title
return stylesheet.title == title;
});
},