Fixed margin top

This commit is contained in:
Igor Zhukov 2014-03-21 14:07:46 +04:00
parent 04bed4a372
commit a4db65e21b
4 changed files with 14 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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 () {

View File

@ -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
});