weixin_guange
Tim 9 years ago
parent 77c727e18a
commit 92ae8865f0

@ -14,7 +14,7 @@ app.directive('iphoneRecognize',["$timeout",function(timer){
$("#all_homework_reply,#all_blog_reply,#all_course_message_reply,#all_message_reply").css("marginBottom","0"); $("#all_homework_reply,#all_blog_reply,#all_course_message_reply,#all_message_reply").css("marginBottom","0");
window.scrollTo(0,contentHeight) window.scrollTo(0,contentHeight)
}; };
// if (/ipad|iphone|mac/i.test(navigator.userAgent)){ if (/ipad|iphone|mac/i.test(navigator.userAgent)){
$("#postInput1").bind('focus',function(){ $("#postInput1").bind('focus',function(){
setTimeout(function(){ setTimeout(function(){
toBottom(); toBottom();
@ -30,7 +30,7 @@ app.directive('iphoneRecognize',["$timeout",function(timer){
$(".post-wrapper").css({"marginBottom":"10px","position":""}); $(".post-wrapper").css({"marginBottom":"10px","position":""});
$("#all_homework_reply,#all_blog_reply,#all_course_message_reply,#all_message_reply").css("marginBottom","52px"); $("#all_homework_reply,#all_blog_reply,#all_course_message_reply,#all_message_reply").css("marginBottom","52px");
}); });
// } }
}) })
} }
} }

Loading…
Cancel
Save