diff --git a/src/renderer/main/vueapp.js b/src/renderer/main/vueapp.js index 26bf4f53..3ae6c372 100644 --- a/src/renderer/main/vueapp.js +++ b/src/renderer/main/vueapp.js @@ -2143,17 +2143,16 @@ const app = new Vue({ }, 100); }, setPagePos() { - try{ - console.debug({ - href: window.location.hash, - position: $("#app-content").scrollTop(), - }); - this.$store.commit("setPagePos", { - href: window.location.hash, - position: $("#app-content").scrollTop(), - }); - } catch(e){ - } + try { + console.debug({ + href: window.location.hash, + position: $("#app-content").scrollTop(), + }); + this.$store.commit("setPagePos", { + href: window.location.hash, + position: $("#app-content").scrollTop(), + }); + } catch (e) {} }, routeView(item) { this.setPagePos();