Index: Source/WebCore/Resources/pagepopups/pickerCommon.js |
=================================================================== |
--- Source/WebCore/Resources/pagepopups/pickerCommon.js (revision 133256) |
+++ Source/WebCore/Resources/pagepopups/pickerCommon.js (working copy) |
@@ -169,8 +169,9 @@ |
window.addEventListener("resize", function() { |
if (window.innerWidth === 1 && window.innerHeight === 1) |
- return; |
- window.dispatchEvent(new CustomEvent("didOpenPicker")); |
+ window.dispatchEvent(new CustomEvent("didHide")); |
+ else |
+ window.dispatchEvent(new CustomEvent("didOpenPicker")); |
}, false); |
/** |