X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fwidgets%2Fpagelayout%2Fjs%2Fjquery.mobile.tizen.pagelayout.js;h=059741af0c36390216c4bd346815ef524e09eeb8;hb=b9d2960e7c6105d5fa118c628503209412153550;hp=ad72921dc42874f14ef5ba2c51da8e1884ca4d38;hpb=75a90cf046e6601e1dc78b23599c79411623830b;p=platform%2Fframework%2Fweb%2Fweb-ui-fw.git diff --git a/src/widgets/pagelayout/js/jquery.mobile.tizen.pagelayout.js b/src/widgets/pagelayout/js/jquery.mobile.tizen.pagelayout.js index ad72921..059741a 100755 --- a/src/widgets/pagelayout/js/jquery.mobile.tizen.pagelayout.js +++ b/src/widgets/pagelayout/js/jquery.mobile.tizen.pagelayout.js @@ -421,8 +421,7 @@ }, - /* 1. Calculate toolbar width(only controlbar) - * 2. Calculate and update content height */ + /* 1. Calculate and update content height */ updatePageLayout: function ( receiveType ) { var $elFooter, $elFooterControlbar, @@ -447,9 +446,6 @@ if (resultFooterHeight != 0 ) { $elFooter.css( "bottom", 0 ); } - if ( $elFooterControlbar.jqmData("style") == "toolbar" ) { - $elFooterControlbar.css( "width", window.innerWidth - $elFooterControlbar.siblings( ".ui-btn" ).width() - parseInt($elFooterControlbar.siblings(".ui-btn").css("right"), 10 ) * 2 ); - } resultContentHeight = window.innerHeight - resultFooterHeight - resultHeaderHeight;