OSDN Git Service

Version 0.6.173, add OS detection to X.UA, fix X.Timer @Chrome & X.Audio.
[pettanr/clientJs.git] / 0.6.x / js / 01_core / 21_XViewPort.js
index aa8cdc3..8d3bca1 100644 (file)
@@ -87,6 +87,8 @@ X_ViewPort = X_Class_override(
                                                X_ViewPort_activeTimerID = X_Timer_once( 16, X_ViewPort_changeFocus );
                                                return X_CALLBACK_PREVENT_DEFAULT | X_CALLBACK_STOP_PROPAGATION;
                                        };
+                                       // 他の要素のfocusout がバブルアップしてきたもの
+                                       if( e.target !== X_ViewPort_document ) break;
                                case 'pagehide' :               
                                        active = true;
                                case 'focus' :