Fixed crash in ChromeApp

Also bump to 0.5.7.1
Closes #1450
This commit is contained in:
Igor Zhukov 2017-07-05 11:57:23 +03:00
parent fdf983dec7
commit 9111bed580
20 changed files with 26 additions and 21 deletions

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE
@ -20,7 +20,7 @@ Config = window.Config || {}
Config.App = {
id: 2496,
hash: '8da85b0d5bfe62527e5b244c209159c3',
version: '0.5.7',
version: '0.5.7.1',
domains: ['web.telegram.org', 'zhukov.github.io']
}

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE

View File

@ -1,5 +1,5 @@
/*!
* Webogram v0.5.7 - messaging web application for MTProto
* Webogram v0.5.7.1 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE
@ -4730,6 +4730,11 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
!target.onclick &&
!target.onmousedown) {
var href = $(target).attr('href') || target.href || ''
if (Config.Modes.chrome_packed &&
href.length &&
$(target).attr('target') == '_blank') {
$(target).attr('rel', '')
}
var match = href.match(tgAddrRegExp)
if (match) {
if (handleTgProtoAddr(match[3], true)) {

View File

@ -1,7 +1,7 @@
{
"name": "Telegram",
"description": "Telegram Web App.\nMore info & source code here: https://github.com/zhukov/webogram",
"version": "0.5.7",
"version": "0.5.7.1",
"short_name": "Telegram",
"manifest_version": 2,
"app": {

View File

@ -1,7 +1,7 @@
{
"name": "Telegram",
"description": "Telegram Web App.\nMore info & source code here: https://github.com/zhukov/webogram",
"version": "0.5.7",
"version": "0.5.7.1",
"type": "privileged",
"launch_path": "/index.html",
"developer": {

View File

@ -1,7 +1,7 @@
{
"name": "Telegram",
"description": "Telegram Web App.\nMore info & source code here: https://github.com/zhukov/webogram",
"version": "0.5.7",
"version": "0.5.7.1",
"main": "app/index.html",
"single-instance": true,
"dom_storage_quota": 40,