Last active
December 23, 2015 19:39
-
-
Save pavelpower/6684619 to your computer and use it in GitHub Desktop.
hide element if location is contains 200253326
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
(function($) { | |
// hide if location === /200253326/ | |
$(function() { | |
if ( window.location.pathname.match('200253326') ) { | |
$('div.section_widget').hide(); | |
} else { | |
$('div.section_widget').show(); | |
} | |
}); | |
})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment