mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Tr fixing google markup repeatedly
This commit is contained in:
parent
016bd5458c
commit
96c136ad0a
@ -8,8 +8,11 @@
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
var num_tries = 0;
|
||||
|
||||
function fix_google_markup() {
|
||||
var cc = document.getElementById('center_col');
|
||||
if (!cc && ++num_tries < 10) { setTimeout(fix_google_markup, 100); }
|
||||
cc.style.marginLeft = '0';
|
||||
cc = document.getElementById('cnt');
|
||||
if (cc) cc.style.paddingTop = '0';
|
||||
|
Loading…
x
Reference in New Issue
Block a user