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