mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-15 02:35:40 +01:00
...
This commit is contained in:
parent
96c136ad0a
commit
b83c7be4d9
1 changed files with 5 additions and 1 deletions
|
|
@ -12,7 +12,11 @@
|
|||
|
||||
function fix_google_markup() {
|
||||
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 = document.getElementById('cnt');
|
||||
if (cc) cc.style.paddingTop = '0';
|
||||
|
|
|
|||
Loading…
Reference in a new issue