diff --git a/themes/vue/source/js/common.js b/themes/vue/source/js/common.js
index 84df3c985..f8ba438af 100644
--- a/themes/vue/source/js/common.js
+++ b/themes/vue/source/js/common.js
@@ -141,7 +141,7 @@
   function parseRawHash (hash) {
     // Remove leading hash
     if (hash.charAt(0) === '#') {
-      hash = hash.substr(1)
+      hash = hash.slice(1)
     }
 
     // Escape characters