Firefox minor fixes
This commit is contained in:
parent
2a28adb6e5
commit
111a1f9331
@ -1140,6 +1140,7 @@ angular.module('myApp.controllers', ['myApp.i18n'])
|
||||
}
|
||||
|
||||
function updateStartBot () {
|
||||
var wasStartBot = $scope.historyState.startBot;
|
||||
if (!peerID ||
|
||||
peerID < 0 ||
|
||||
!AppUsersManager.isBot(peerID) ||
|
||||
@ -1163,7 +1164,9 @@ angular.module('myApp.controllers', ['myApp.i18n'])
|
||||
else {
|
||||
$scope.historyState.startBot = false;
|
||||
}
|
||||
$scope.$broadcast('ui_panel_update');
|
||||
if (wasStartBot != $scope.historyState.startBot) {
|
||||
$scope.$broadcast('ui_panel_update');
|
||||
}
|
||||
}
|
||||
|
||||
function messageFocusHistory () {
|
||||
|
@ -1877,8 +1877,10 @@ angular.module('myApp.directives', ['myApp.filters'])
|
||||
}
|
||||
|
||||
if ($scope.document.url) {
|
||||
$scope.isActive = !$scope.isActive;
|
||||
$scope.$emit('ui_height');
|
||||
onContentLoaded(function () {
|
||||
$scope.isActive = !$scope.isActive;
|
||||
$scope.$emit('ui_height');
|
||||
})
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -423,6 +423,10 @@ angular.module('izhukov.utils', [])
|
||||
return saveFileBase64(db, fileName, blob);
|
||||
}
|
||||
|
||||
if (!(blob instanceof Blob)) {
|
||||
blob = blobConstruct([blob]);
|
||||
}
|
||||
|
||||
try {
|
||||
var objectStore = db.transaction([dbStoreName], IDBTransaction.READ_WRITE || 'readwrite').objectStore(dbStoreName),
|
||||
request = objectStore.put(blob, fileName);
|
||||
|
@ -914,7 +914,7 @@ a.footer_link.active:active {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
margin: 9px 0 0 -59px;
|
||||
display: inline-block;
|
||||
display: block;
|
||||
|
||||
.image-2x('../img/icons/IconsetW.png', 42px, 1171px);
|
||||
background-position: -9px -481px;
|
||||
|
Loading…
Reference in New Issue
Block a user