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