forked from 0x2620/pandora
add a bit of text if browser is not supported
This commit is contained in:
parent
f9835e934d
commit
ea10b6399d
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue