Created
June 11, 2013 21:02
-
-
Save ThatGuySam/5760653 to your computer and use it in GitHub Desktop.
Guts Chop Campus Javascript
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
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