فهرست منبع

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

Enrico Berti 8 سال پیش
والد
کامیت
f9b1b60
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  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) {