Fix e shortcut with baseurl

This commit is contained in:
Dawa Ometto
2018-12-10 19:52:52 +01:00
parent d3402dded2
commit 7f598cb49e
+1 -1
View File
@@ -1,7 +1,7 @@
<script>
Mousetrap.bind(['e'], function( e ) {
e.preventDefault();
window.location = "/edit" + window.location.pathname;
window.location = "{{edit_path}}" + '/' + pageFullPath;
return false;
});
</script>