From: John Resig Date: Sat, 20 Dec 2008 14:39:36 +0000 (+0000) Subject: Added a missing semicolon. X-Git-Tag: 1.3b1~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6f2f1830a4cbf8c9a6a74e80e920915f87673119;p=jquery.git Added a missing semicolon. --- diff --git a/src/offset.js b/src/offset.js index 44523d8ef..c7f26d1c8 100644 --- a/src/offset.js +++ b/src/offset.js @@ -53,7 +53,7 @@ jQuery.offset = { var body = document.body, container = document.createElement('div'), innerDiv, checkDiv, table, rules, prop, bodyMarginTop = body.style.marginTop, html = '
'; - rules = { position: 'absolute', top: 0, left: 0, margin: 0, border: 0, width: '1px', height: '1px', visibility: 'hidden' } + rules = { position: 'absolute', top: 0, left: 0, margin: 0, border: 0, width: '1px', height: '1px', visibility: 'hidden' }; for ( prop in rules ) container.style[prop] = rules[prop]; container.innerHTML = html;