disable popups for now
authorTaylor Richards <taylor@icculus.org>
Thu, 7 Dec 2017 01:56:05 +0000 (20:56 -0500)
committerTaylor Richards <taylor@icculus.org>
Sat, 17 Mar 2018 15:17:36 +0000 (11:17 -0400)
src/popup/popup.cpp

index 7975cce..8edd4a9 100644 (file)
@@ -1054,6 +1054,11 @@ int popup_do(popup_info *pi, int flags)
                return -1;
        }
 
+#ifdef __EMSCRIPTEN__
+       STUB_FUNCTION;
+       return POPUP_ABORT;
+#endif
+
        while(!done) {
                int k;
 
@@ -1117,6 +1122,11 @@ int popup_do_with_condition(popup_info *pi, int flags, int(*condition)())
        if ( popup_init(pi, flags) == -1 )
                return -1;
 
+#ifdef __EMSCRIPTEN__
+       STUB_FUNCTION;
+       return POPUP_ABORT;
+#endif
+
        while(!done) {
                int k;