Commit 02c47182 by doszhang

dos

parent b1d0b0b5
......@@ -116,8 +116,10 @@ const originalHeight = document.documentElement.clientHeight || document.body.cl
$(document).ready(function () {
// $('.logo').css('top', getTranslateDistance(40, true));
$("input").on("blur", function () {
$("input").on("focus blur", function () {
window.scroll(0, 0); //失焦后强制让页面归位
var resizeHeight = document.documentElement.clientHeight || document.body.clientHeight;
alert(resizeHeight);
});
window.οnresize = function () {
alert(1);
......
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