This commit is contained in:
Kovid Goyal 2020-04-17 15:12:20 +05:30
parent 96c136ad0a
commit b83c7be4d9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -12,7 +12,11 @@
function fix_google_markup() { function fix_google_markup() {
var cc = document.getElementById('center_col'); var cc = document.getElementById('center_col');
if (!cc && ++num_tries < 10) { setTimeout(fix_google_markup, 100); } if (!cc) {
if (++num_tries > 10) return;
setTimeout(fix_google_markup, 100);
return;
}
cc.style.marginLeft = '0'; cc.style.marginLeft = '0';
cc = document.getElementById('cnt'); cc = document.getElementById('cnt');
if (cc) cc.style.paddingTop = '0'; if (cc) cc.style.paddingTop = '0';