Browse Source

[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.
pull/24/head
FranklinDM 2 years ago committed by Roy Tam
parent
commit
194f96855e
  1. 2
      application/palemoon/base/content/browser.js

2
application/palemoon/base/content/browser.js

@ -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;
});
},

Loading…
Cancel
Save