Fix JS issue with script throwing error on Landing Page.

Cette révision appartient à :
Gautham Warrier 2014-02-19 09:51:19 +05:30
Parent 0d81614afd
révision 73542f286e
1 fichiers modifiés avec 2 ajouts et 1 suppressions

Voir le fichier

@ -22,7 +22,8 @@ $(function () {
});
//Fix GitHub Ribbon overlapping Scrollbar
if ($('article')[0].scrollHeight > $('.right-column').height()) $('#github-ribbon')[0].style.right = '16px'
var t = $('#github-ribbon');
if (t[0] && $('article')[0].scrollHeight > $('.right-column').height()) t[0].style.right = '16px';
//Toggle Code Block Visibility
function toggleCodeBlocks() {