ask and redirect to new deck editor for mobile phone

This commit is contained in:
WEBXOSS 2017-03-05 18:03:27 +08:00
parent 65c0d3a08b
commit 114df895aa
5 changed files with 14 additions and 10 deletions

View file

@ -287,7 +287,6 @@ var map_zh_CN = {
'proxy-description': '使用代理后,你与WEBXOSS服务器之间的数据将由代理服务器转发. 通常情况下,你不必设置代理,但如果掉线情况频繁发生,代理可能会有所帮助.',
'proxy-noproxy': '不使用代理 (东京)',
'proxy-cloudflare': 'CloudFlare',
'proxy-incapsula': 'Incapsula',
'proxy-provide': '提供代理服务器...',
'proxy-button-ok': '确定',
'msgbox-button-ok': '确定',
@ -654,7 +653,6 @@ var map_en = {
'proxy-description': 'If your connection to WEBXOSS server is not stable, you can try a proxy.',
'proxy-noproxy': 'No Proxy (Tokyo)',
'proxy-cloudflare': 'CloudFlare',
'proxy-incapsula': 'Incapsula',
'proxy-provide': 'Provide a server...',
'proxy-button-ok': 'OK',
'msgbox-button-ok': 'OK',
@ -1041,7 +1039,6 @@ var map_jp = {
'proxy-description': 'If your connection to WEBXOSS server is not stable, you can try a proxy.',
'proxy-noproxy': 'No Proxy (Tokyo)',
'proxy-cloudflare': 'CloudFlare',
'proxy-incapsula': 'Incapsula',
'proxy-provide': 'Provide a server...',
'proxy-button-ok': 'OK',
'msgbox-button-ok': 'OK',
@ -1411,7 +1408,6 @@ var map_ru = {
'proxy-description': 'Если Ваше соединение с WEBXOSS нестабильно, можете использовать Proxy.',
'proxy-noproxy': 'Без Proxy (Tokyo)',
'proxy-cloudflare': 'CloudFlare',
'proxy-incapsula': 'Incapsula',
'proxy-provide': 'Свой сервер...',
'proxy-button-ok': 'OK',
'msgbox-button-ok': 'OK',
@ -1778,7 +1774,6 @@ var map_it = {
'proxy-description': 'Se la tua connessione a WEBXOSS non è stabile puoi provare con l\'uso di un proxy.',
'proxy-noproxy': 'No Proxy (Tokyo)',
'proxy-cloudflare': 'CloudFlare',
'proxy-incapsula': 'Incapsula',
'proxy-provide': 'Configura server...',
'proxy-button-ok': 'OK',
'msgbox-button-ok': 'OK',
@ -2166,7 +2161,6 @@ var map_ko = {
'proxy-description': '만약 WEBXOSS 서버가 원활하지 않다면, 프록시를 시도할 수 있습니다.',
'proxy-noproxy': '프록시 없음 (Tokyo)',
'proxy-cloudflare': 'CloudFlare',
'proxy-incapsula': 'Incapsula',
'proxy-provide': '서버 제공중...',
'proxy-button-ok': '확인',
'msgbox-button-ok': '확인',

4
Localize.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -1067,6 +1067,16 @@ function checkDomain () {
}
checkDomain();
// new deck editor
if (/iPhone|Android/i.test(navigator.userAgent)) {
$('link-edit-deck').onclick = function (event) {
if (window.confirm('Do you like to try our new DeckEditor for mobile phone?')) {
event.preventDefault();
location = '/next/';
}
}
}
// if (localStorage.getItem('notice') !== 'tournament') {
// $('subtitle').className = 'match';
// $('notice-match').onclick = function () {

View file

@ -45,4 +45,4 @@ background/loading.gif
NETWORK:
*
# 2016/03/05 17:43
# 2016/03/05 18:03

File diff suppressed because one or more lines are too long