Fixed mobile issues
This commit is contained in:
parent
f1fdd25070
commit
d9fe065a14
@ -86,7 +86,7 @@
|
|||||||
<a href="#/im" class="navbar-quick-group-back">
|
<a href="#/im" class="navbar-quick-group-back">
|
||||||
<i class="icon icon-back"></i>
|
<i class="icon icon-back"></i>
|
||||||
<div class="navbar-quick-back-title">
|
<div class="navbar-quick-back-title">
|
||||||
<h4 my-peer-link="historyPeer.id"></h4>
|
<h4 my-peer-link="historyPeer.id" peer-watch="true"></h4>
|
||||||
<small ng-switch="historyState.typing.length">
|
<small ng-switch="historyState.typing.length">
|
||||||
<span ng-switch-when="0" class="tg_head_peer_status" my-chat-status="-historyPeer.id"></span>
|
<span ng-switch-when="0" class="tg_head_peer_status" my-chat-status="-historyPeer.id"></span>
|
||||||
<my-i18n>
|
<my-i18n>
|
||||||
|
@ -787,6 +787,11 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition'])
|
|||||||
element.addClass(attrs.windowClass || '');
|
element.addClass(attrs.windowClass || '');
|
||||||
scope.size = attrs.size;
|
scope.size = attrs.size;
|
||||||
|
|
||||||
|
// moved from template to fix issue #2280
|
||||||
|
element.on('click', function(evt) {
|
||||||
|
scope.close(evt);
|
||||||
|
});
|
||||||
|
|
||||||
$modalStack.registerObserverCallback(function(hiddenBySingle) {
|
$modalStack.registerObserverCallback(function(hiddenBySingle) {
|
||||||
scope.hiddenBySingle = hiddenBySingle || false;
|
scope.hiddenBySingle = hiddenBySingle || false;
|
||||||
});
|
});
|
||||||
@ -1257,7 +1262,7 @@ angular.module("template/modal/backdrop.html", []).run(["$templateCache", functi
|
|||||||
|
|
||||||
angular.module("template/modal/window.html", []).run(["$templateCache", function($templateCache) {
|
angular.module("template/modal/window.html", []).run(["$templateCache", function($templateCache) {
|
||||||
$templateCache.put("template/modal/window.html",
|
$templateCache.put("template/modal/window.html",
|
||||||
"<div tabindex=\"-1\" role=\"dialog\" class=\"modal fade\" ng-class=\"{in: animate}\" ng-style=\"{'z-index': 1050 + index*10, display: hiddenBySingle ? 'none' : 'block'}\" ng-click=\"close($event)\">\n" +
|
"<div tabindex=\"-1\" role=\"dialog\" class=\"modal fade\" ng-class=\"{in: animate}\" ng-style=\"{'z-index': 1050 + index*10, display: hiddenBySingle ? 'none' : 'block'}\">\n" +
|
||||||
" <div class=\"modal_close_wrap\" ng-click=\"close($event)\">\n" +
|
" <div class=\"modal_close_wrap\" ng-click=\"close($event)\">\n" +
|
||||||
" <div class=\"modal_close\"></div>\n" +
|
" <div class=\"modal_close\"></div>\n" +
|
||||||
" </div>\n" +
|
" </div>\n" +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user