mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
96c136ad0a
commit
b83c7be4d9
@ -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';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user