Autorefresh: remove url hack.

master
Tom Hacohen 4 years ago
parent dc7f2fb47c
commit 85ef564b63

@ -162,8 +162,7 @@ export default function App() {
} }
function autoRefresh() { function autoRefresh() {
if (navigator.onLine && etebase && if (navigator.onLine && etebase) {
!(window.location.pathname.match(/.*\/(new|edit|duplicate)$/))) {
refresh(); refresh();
} }
} }

Loading…
Cancel
Save