Skip to content

Commit f72d89b

Browse files
committed
Properly replace "only with Firefox" buttons on versions page
1 parent d0bc091 commit f72d89b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

source/content/frame-script.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,6 @@ var amoBr = {
879879

880880
var compat = item.querySelector('span.meta.compat');
881881
if (!compat) continue;
882-
if (/SeaMonkey/.test(compat.innerText)) continue;
883882

884883
var action = item.querySelector('div.action');
885884

@@ -891,7 +890,9 @@ var amoBr = {
891890
div.style.fontSize = '8pt';
892891
div.style.textAlign = 'center';
893892
div.style.lineHeight = '1.4';
894-
amoBr.addSanitizedHtmlASDom(div, amoBr.getString('notCompatible'));
893+
if (!/SeaMonkey/.test(compat.innerText)) {
894+
amoBr.addSanitizedHtmlASDom(div, amoBr.getString('notCompatible'));
895+
}
895896

896897
if (compat) {
897898
// Parse the compatibility string to figure out if this uses WebExtensions or not

source/install.rdf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
44
<rdf:Description rdf:about="urn:mozilla:install-manifest">
55
<em:id>[email protected]</em:id>
6-
<em:version>0.9.17.1rc1</em:version>
6+
<em:version>0.9.17.1rc2</em:version>
77
<em:type>2</em:type>
88
<em:bootstrap>true</em:bootstrap>
99

0 commit comments

Comments
 (0)