diff options
author | John Resig <jeresig@gmail.com> | 2008-12-20 14:39:36 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2008-12-20 14:39:36 +0000 |
commit | 6f2f1830a4cbf8c9a6a74e80e920915f87673119 (patch) | |
tree | dcb407b74175e79aa7666cce55e2a586a48b79dd /src/offset.js | |
parent | c85243dfc4b09e6bb87532f2025f686b6ae45a22 (diff) | |
download | jquery-6f2f1830a4cbf8c9a6a74e80e920915f87673119.tar.gz jquery-6f2f1830a4cbf8c9a6a74e80e920915f87673119.zip |
Added a missing semicolon.
Diffstat (limited to 'src/offset.js')
-rw-r--r-- | src/offset.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 = '<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"cellpadding="0"cellspacing="0"><tr><td></td></tr></table>'; - 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; |