Explorar o código

HUE-6077 [frontend] Disable popstate listening on page.js to co-exist with Routie

Enrico Berti %!s(int64=8) %!d(string=hai) anos
pai
achega
f9b1b60bd4
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      desktop/core/src/desktop/templates/hue.mako

+ 3 - 1
desktop/core/src/desktop/templates/hue.mako

@@ -854,7 +854,9 @@ ${ smart_unicode(login_modal(request).content) | n,unicode }
             console.error('Route not found', ctx);
             self.loadApp('404');
           });
-          page();
+          page({
+            popstate: false
+          });
         });
 
         huePubSub.subscribe('open.link', function (href) {