meta = document.createElement( "meta" );
if ( meta ) {
meta.name = "viewport";
- content = [ "width=", viewportWidth, ", user-scalable=no" ].join( "" );
+ content = "width=" + viewportWidth + ", user-scalable=no";
if ( ! isNaN( viewportWidth ) ) {
// Fix scale to 1.0, if viewport width is set to fixed value.
// NOTE: Works wrong in Tizen browser!
tizen.log.debug( "themedefaultfont size: " + themeDefaultFontSize + ", ratio: " + ratio );
var scaledFontSize = Math.max( Math.floor( themeDefaultFontSize * ratio ), 4 );
- $( 'html.ui-mobile' ).css( { 'font-size': scaledFontSize + "px" } );
+ $( 'html' ).css( { 'font-size': scaledFontSize + "px" } );
tizen.log.debug( 'html:font size is set to ' + scaledFontSize );
$( document ).ready( function ( ) {
$( '.ui-mobile' ).children( 'body' ).css( { 'font-size': scaledFontSize + "px" } );