From cd4f789562b5220844ec754a1051c89b5f6a3c05 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Fri, 5 Apr 2013 22:30:06 +0200 Subject: [PATCH] Alert Firefox users if they didn't set up flexbox correctly. --- src/features.coffee | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/features.coffee b/src/features.coffee index 642410391..44e88704d 100644 --- a/src/features.coffee +++ b/src/features.coffee @@ -212,6 +212,16 @@ Settings = open: -> Conf['Enable 4chan\'s Extension'] $.get 'previousversion', null, (item) -> + <% 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.
+ Follow the instructions of the install guide to fix it. + """ + new Notification 'warning', el, 30 + <% } %> if previous = item['previousversion'] return if previous is g.VERSION # Avoid conflicts between sync'd newer versions