Commit 72b9215c by doszhang

dos

parent 00b93b5d
......@@ -51,6 +51,7 @@ var canvas = false,
uploadedImg = false;
$(document).ready(function () {
if ($('.page').height() < document.documentElement.clientHeight) {
alert(1)
var scale = document.documentElement.clientHeight / $('.page').height();
$('.bg').css({
'transform': 'scale(1,' + scale + ')'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment