Skip to content

Instantly share code, notes, and snippets.

@adrianorsouza
Created October 17, 2014 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adrianorsouza/aab6540476f9bb820ffb to your computer and use it in GitHub Desktop.
Save adrianorsouza/aab6540476f9bb820ffb to your computer and use it in GitHub Desktop.
diff --git a/developer/js/module-shorten.js b/developer/js/module-shorten.js
index df2e8f8..71f8965 100644
--- a/developer/js/module-shorten.js
+++ b/developer/js/module-shorten.js
@@ -32,6 +32,11 @@
return;
}
+ // Skip whether the window is shorten_hash
+ if ( el === 'user' && hash ) {
+ return;
+ }
+
for (var i = 0; i < obj.data.length; i++) {
var item = obj.data[i]
Stage this hunk [y,n,q,a,d,/,j,J,g,e,?]?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment