diff --git a/app/css/app.css b/app/css/app.css index c9ad96dc..d7972d10 100644 --- a/app/css/app.css +++ b/app/css/app.css @@ -231,7 +231,7 @@ fieldset[disabled] .btn-tg.active { width: 33px; height: 33px; float: right; - margin: 60px 10px 0 0; + margin: 60px 30px 0 0; opacity: 0.5; pointer-events: none; diff --git a/app/js/services.js b/app/js/services.js index 8b4235c8..e21bf5e8 100644 --- a/app/js/services.js +++ b/app/js/services.js @@ -1485,7 +1485,7 @@ angular.module('myApp.services', []) function wrapForFull (photoID) { var photo = wrapForHistory(photoID), - fullWidth = 542, + fullWidth = Math.min($(window).width() - 60, 542), fullHeight = $($window).height() - 150, fullPhotoSize = choosePhotoSize(photo, fullWidth, fullHeight), full = { @@ -1583,7 +1583,7 @@ angular.module('myApp.services', []) function wrapForFull (videoID) { var video = wrapForHistory(videoID), - fullWidth = 542, + fullWidth = Math.min($(window).width() - 60, 542), fullHeight = $($window).height() - 150, fullPhotoSize = video, full = { @@ -2395,9 +2395,8 @@ angular.module('myApp.services', []) notification.close(); if (window.chrome && chrome.app) { chrome.app.window.current().focus(); - } else { - window.focus(); } + window.focus(); notificationsClear(); if (data.onclick) { data.onclick(); diff --git a/app/manifest.json b/app/manifest.json index b08981c9..5073ad82 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -1,6 +1,6 @@ { "name": "Telegram UNOFFICIAL", - "version": "0.0.14", + "version": "0.0.15", "short_name": "Webogram", "manifest_version": 2, "app": { diff --git a/app/manifest.webapp b/app/manifest.webapp index f8ad0596..371f3a17 100644 --- a/app/manifest.webapp +++ b/app/manifest.webapp @@ -1,7 +1,7 @@ { "name": "Webogram", "description": "Webogram – UNOFFICIAL Telegram Web App.\nMore info & source code here: https://github.com/zhukov/webogram", - "version": "0.0.14", + "version": "0.0.15", "launch_path": "/index.html", "developer": { "name": "Igor Zhukov", diff --git a/app/partials/chat_modal.html b/app/partials/chat_modal.html index e034bf81..6e34f90c 100644 --- a/app/partials/chat_modal.html +++ b/app/partials/chat_modal.html @@ -1,7 +1,7 @@
diff --git a/app/partials/settings_modal.html b/app/partials/settings_modal.html index e0476a1b..474dd44e 100644 --- a/app/partials/settings_modal.html +++ b/app/partials/settings_modal.html @@ -1,6 +1,7 @@
@@ -60,7 +61,7 @@

Version: - alpha 0.0.13 + alpha 0.0.15


diff --git a/app/partials/user_modal.html b/app/partials/user_modal.html index 397cfb6d..c5991f7a 100644 --- a/app/partials/user_modal.html +++ b/app/partials/user_modal.html @@ -1,6 +1,7 @@
diff --git a/app/vendor/ui-bootstrap/ui-bootstrap-custom-tpls-0.10.0.js b/app/vendor/ui-bootstrap/ui-bootstrap-custom-tpls-0.10.0.js index 9f0ce80c..d49a0f9b 100644 --- a/app/vendor/ui-bootstrap/ui-bootstrap-custom-tpls-0.10.0.js +++ b/app/vendor/ui-bootstrap/ui-bootstrap-custom-tpls-0.10.0.js @@ -1074,7 +1074,7 @@ angular.module("template/modal/backdrop.html", []).run(["$templateCache", functi angular.module("template/modal/window.html", []).run(["$templateCache", function($templateCache) { $templateCache.put("template/modal/window.html", "
\n" + - "
\n" + + "
\n" + "
\n" + "
\n" + "
\n" +