Fixed margin top
This commit is contained in:
parent
04bed4a372
commit
a4db65e21b
2
Makefile
2
Makefile
@ -16,7 +16,7 @@ package:
|
||||
cd package_dist && zip -r ../webogram_v$(version).zip .
|
||||
|
||||
publish:
|
||||
rm -rf dist/*
|
||||
./node_modules/gulp/bin/gulp.js clean
|
||||
cd dist && git pull origin gh-pages
|
||||
./node_modules/gulp/bin/gulp.js publish
|
||||
cd dist && git add --all . && git commit -am "merged with master" && git push origin gh-pages
|
||||
|
@ -444,7 +444,7 @@ angular.module('myApp.controllers', [])
|
||||
if (!hasMore || !offset) {
|
||||
return;
|
||||
}
|
||||
console.trace('load history');
|
||||
// console.trace('load history');
|
||||
|
||||
var inputMediaFilter = $scope.mediaType && {_: inputMediaFilters[$scope.mediaType]},
|
||||
getMessagesPromise = inputMediaFilter
|
||||
|
@ -278,7 +278,7 @@ angular.module('myApp.directives', ['myApp.filters'])
|
||||
$(scrollable).css({bottom: ''});
|
||||
scrollableWrap.scrollTop = st + scrollableWrap.scrollHeight - sh;
|
||||
|
||||
updateScroller();
|
||||
updateBottomizer();
|
||||
moreNotified = false;
|
||||
|
||||
$timeout(function () {
|
||||
|
@ -1071,7 +1071,11 @@ factory('MtpAuthorizer', function (MtpDcConfigurator, MtpRsaKeysManager, MtpSecu
|
||||
delete $http.defaults.headers.post['Content-Type'];
|
||||
delete $http.defaults.headers.common['Accept'];
|
||||
|
||||
return $http.post('http://' + MtpDcConfigurator.chooseServer(dcID) + '/apiw1', resultArray.buffer, {
|
||||
if (!('ArrayBufferView' in window)) {
|
||||
resultArray = resultArray.buffer;
|
||||
}
|
||||
|
||||
return $http.post('http://' + MtpDcConfigurator.chooseServer(dcID) + '/apiw1', resultArray, {
|
||||
responseType: 'arraybuffer',
|
||||
transformRequest: null,
|
||||
transformResponse: function (responseBuffer) {
|
||||
@ -2028,7 +2032,12 @@ factory('MtpNetworkerFactory', function (MtpDcConfigurator, MtpMessageIdGenerato
|
||||
delete $http.defaults.headers.post['Content-Type'];
|
||||
delete $http.defaults.headers.common['Accept'];
|
||||
|
||||
return $http.post('http://' + MtpDcConfigurator.chooseServer(self.dcID) + '/apiw1', request.getBuffer(), {
|
||||
var resultArray = request.getArray();
|
||||
if (!('ArrayBufferView' in window)) {
|
||||
resultArray = resultArray.buffer;
|
||||
}
|
||||
|
||||
return $http.post('http://' + MtpDcConfigurator.chooseServer(self.dcID) + '/apiw1', resultArray, {
|
||||
responseType: 'arraybuffer',
|
||||
transformRequest: null
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user