OSDN Git Service

Version 0.6.217, add #switch for X.Audio.
[pettanr/clientJs.git] / 0.6.x / js / 01_core / 21_XViewPort.js
index ae083d7..86682a8 100644 (file)
@@ -270,6 +270,7 @@ X[ 'ViewPort' ] = {
                // http://orera.g.hatena.ne.jp/edvakf/20100515/1273908051
        //http://onozaty.hatenablog.com/entry/20060803/p1
        // Safari2.0.4では標準・互換どちらも document.body
+       // http://hisasann.com/housetect/2008/08/jqueryheightwidthopera95.html このdocument.body[ "client" + name ]はおそらくOpera9.5未満のバージョンで有効なんじゃないかな?
                
                X_Node_updateTimerID && X_Node_startUpdate();
                /*X_UA[ 'Opera' ] ?
@@ -437,7 +438,7 @@ X[ 'ViewPort' ] = {
         * @alias X.Doc.html
         * @type {Node}
         */
-                       X[ 'Doc' ][ 'html' ] = html = X_Node_html = X_elmHtml && Node( X_elmHtml )[ 'removeClass' ]( 'js-disabled' )[ 'addClass' ]( X_UA_classNameForHTML );
+                       X[ 'Doc' ][ 'html' ] = html = X_Node_html = X_elmHtml && Node( X_elmHtml )[ 'removeClass' ]( 'js-disabled' )[ 'addClass' ]( X_UA_classNameForHTML.split( '.' ).join( '_' ) );
                        html[ '_flags' ] |= X_NodeFlags_IN_TREE;
 
        /**