Do not warn Firefox users about missing flexbox support anymore.
4chan X assumes Fx22+.
This commit is contained in:
parent
168944277c
commit
87b8a3c951
@ -211,17 +211,6 @@ Main =
|
|||||||
catch err
|
catch err
|
||||||
new Notification 'warning', 'Cookies need to be enabled on 4chan for <%= meta.name %> to properly function.', 30
|
new Notification 'warning', 'Cookies need to be enabled on 4chan for <%= meta.name %> to properly function.', 30
|
||||||
|
|
||||||
<% if (type === 'userscript') { %>
|
|
||||||
el = $.el 'span'
|
|
||||||
el.style.flex = 'test'
|
|
||||||
if el.style.flex is 'test'
|
|
||||||
el.innerHTML = """
|
|
||||||
Firefox is not correctly set up and some <%= meta.name %> features will be displayed incorrectly.<br>
|
|
||||||
Follow the instructions of the <a href='<%= meta.page %>' target=_blank>install guide</a> to fix it.
|
|
||||||
"""
|
|
||||||
new Notification 'warning', el, 30
|
|
||||||
<% } %>
|
|
||||||
|
|
||||||
$.event '4chanXInitFinished'
|
$.event '4chanXInitFinished'
|
||||||
|
|
||||||
callbackNodes: (klass, nodes) ->
|
callbackNodes: (klass, nodes) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user