This commit is contained in:
pererinha 2013-09-25 20:32:20 -03:00
parent 05fd3ff4f1
commit a378cf6092

View File

@ -685,6 +685,10 @@ App.applyIOSPositionFix = function(){
if( App.iOS() ){
setTimeout( function(){
angular.element('body').css('width', '+=1').css('width', '-=1');
// Verifies if the top bar had its position changed
if( parseInt( $('.navs').css('left') ) != 0 ){
$('.navs').css('left', 0 );
}
// Again to make sure it will really fix it!
setTimeout( function(){
angular.element('body').css('width', '+=1').css('width', '-=1');