Last active
January 14, 2017 09:36
-
-
Save sidis405/9f4f7cf768f91bc23370b1e885f6821d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Tab enabling/disabling. Place this at the end of scripts.js | |
* You'll be good to go. | |
* Sid | |
*/ | |
$( function() { | |
if(window.location.hash) { | |
setTimeout(function(){ | |
$('*[data-isotope-filter="'+ decodeURIComponent(window.location.hash.substring(1)) + '"]').trigger('click'); | |
}, 1000); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment