The plugin adds zoom:1 to every page's <body> #96

disinfeqt opened this Issue Mar 24, 2013 · 1 comment


None yet

2 participants

It's works fine on most sites, but it prevents the "responsive zoom" from working, like Rasmus'
Hope you can fix this, thanks.

I'm pretty sure jQuery adds the zoom:1 to the body element. Not really anything the author can do about that other than not include loading jQuery - which is kind of a major feature of dotjs.

I suppose you could counteract this in ~/.js/default.js by doing:

$('body').css('zoom', '');

or if you prefer not to use jQuery:

document.querySelector('body').style.zoom = "";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment