add a bit of text if browser is not supported

This commit is contained in:
j 2011-10-06 13:12:54 +02:00
parent f9835e934d
commit ea10b6399d

View file

@ -42,6 +42,15 @@ Ox.load({
load: function(data) { load: function(data) {
if (!browserSupported) { if (!browserSupported) {
$('.OxLoadingScreen').find('div').append(
$('<div>')
.css({
width: '100%',
paddingTop: '78px',
textAlign: 'center'
})
.html(data.site.site.name + ' does not support your browser,<br /> please update to one of these browsers.')
);
return; return;
} }