(창) .resize()jQuery를 창 크기 조정 오류
나는 무슨 일이 일어나고 있는지 설명하기 위해 펜을 만든 : http://codepen.io/anon/pen/LRYGxK?editors=1111
var bg = $('.inner');
$(window).resize('resizeBackground');
function resizeBackground() {
bg.height($(window).height() + 60);
console.log(bg.height());
}
resizeBackground();
I 콘솔 얻을 오류 :
는 처리되지 않는 형식 오류 (. (n.event.special는 [g.origType] || (중간 값)) || 처리 g.handler)는 .apply 아니다 함수
Not su 내가 정직하게 잘못 가고있는 곳.