Skip to content

Instantly share code, notes, and snippets.

@ThatGuySam
Created June 11, 2013 21:02
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 ThatGuySam/5760653 to your computer and use it in GitHub Desktop.
Save ThatGuySam/5760653 to your computer and use it in GitHub Desktop.
Guts Chop Campus Javascript
WebFontConfig = {
google: { families: [ 'Oswald:400,300,700:latin' ] }
};
(function() {
var wf = document.createElement('script');
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
wf.type = 'text/javascript';
wf.async = 'true';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(wf, s);
})();
$(document).ready(function() {
if( !$("#watch").hasClass("mobile") && !$("#video-area").hasClass("disabled") ) {
$('.interface.first').load('/contents/raw/5113');
$("body").addClass("live");
$("a > span:contains('donate')").parent().addClass("hideMe");
}
});
$('#header>.container>img:first-child').click(function() { window.location.replace("http://gutschurch.com/");
});
if ($.browser.msie && parseInt($.browser.version, 10) <= 6) {
$('#sidebar, #timezone-picker, #chat').addClass("hideMe");
$('#watch').addClass("centerMe");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment