Invalid string

This commit is contained in:
Zixaphir 2014-05-03 06:37:49 -07:00
parent 7375484693
commit fd76d85c07
3 changed files with 3 additions and 3 deletions

View File

@ -13952,7 +13952,7 @@
if (!Main.isThisPageLegit() || $.hasClass(doc, 'fourchan-x')) {
return;
}
if ((_ref = $('link[href*=mobile]', d.head)) != null) {
if ((_ref = $('link[href*="mobile"]', d.head)) != null) {
_ref.disabled = true;
}
$.addClass(doc, 'fourchan-x', 'seaweedchan', g.VIEW, 'gecko');

View File

@ -13970,7 +13970,7 @@
if (!Main.isThisPageLegit() || $.hasClass(doc, 'fourchan-x')) {
return;
}
if ((_ref = $('link[href*=mobile]', d.head)) != null) {
if ((_ref = $('link[href*="mobile"]', d.head)) != null) {
_ref.disabled = true;
}
$.addClass(doc, 'fourchan-x', 'seaweedchan', g.VIEW, 'blink');

View File

@ -149,7 +149,7 @@ Main =
$.off d, '4chanMainInit', Main.initStyle
return if !Main.isThisPageLegit() or $.hasClass doc, 'fourchan-x'
# disable the mobile layout
$('link[href*=mobile]', d.head)?.disabled = true
$('link[href*="mobile"]', d.head)?.disabled = true
$.addClass doc, 'fourchan-x', 'seaweedchan', g.VIEW, '<% if (type === 'crx') { %>blink<% } else { %>gecko<% } %>'
$.addStyle Main.css
Main.setClass()