From 6f2f1830a4cbf8c9a6a74e80e920915f87673119 Mon Sep 17 00:00:00 2001 From: John Resig Date: Sat, 20 Dec 2008 14:39:36 +0000 Subject: [PATCH] Added a missing semicolon. --- src/offset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/offset.js b/src/offset.js index 44523d8e..c7f26d1c 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;