Commits

edogawaconan committed e3468ef

Do check if we're on the right place

Comments (0)

Files changed (1)

app/assets/javascripts/zp.hash_magic.js

       history.replaceState(null, "", hash)
     },
     init: function() {
+      if (!$("#paste").length) return
       this.load_hash()
       if (history.replaceState) {
         this.set_hash()