diff --git a/src/plugins/notebook/snapshot.js b/src/plugins/notebook/snapshot.js index 282640f161..b3762da797 100644 --- a/src/plugins/notebook/snapshot.js +++ b/src/plugins/notebook/snapshot.js @@ -110,7 +110,8 @@ export default class Snapshot { } return () => { - window.location.href = window.location.origin + url; + const path = window.location.href.split('#'); + window.location.href = path[0] + url; }; } }