From ea10b6399dfbe36867a613a28a52625c712d97f3 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 6 Oct 2011 13:12:54 +0200 Subject: [PATCH] add a bit of text if browser is not supported --- static/js/pandora.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/static/js/pandora.js b/static/js/pandora.js index 59144e9a..2289aeff 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -42,6 +42,15 @@ Ox.load({ load: function(data) { if (!browserSupported) { + $('.OxLoadingScreen').find('div').append( + $('
') + .css({ + width: '100%', + paddingTop: '78px', + textAlign: 'center' + }) + .html(data.site.site.name + ' does not support your browser,
please update to one of these browsers.') + ); return; }