Skip to content

Commit

Permalink
Fixed zoom calculation for IE
Browse files Browse the repository at this point in the history
  • Loading branch information
kreymerman committed Feb 4, 2013
1 parent fd1442a commit 124abd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detect-zoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
* @private
**/
var ie8 = function () {
var zoom = Math.round((screen.deviceXDPI / screen.logicalXDPI) * 100);
var zoom = Math.round((screen.deviceXDPI / screen.logicalXDPI) * 100) / 100;
return {
zoom: zoom,
devicePxPerCssPx: zoom * devicePixelRatio()
Expand Down

0 comments on commit 124abd6

Please sign in to comment.