From 7647cebc3929337d1e77069c8620158dcf84ff20 Mon Sep 17 00:00:00 2001 From: John Resig Date: Tue, 20 Jan 2009 15:46:40 +0000 Subject: [PATCH] Added some missing spaces - helps to calm XHTML error messages in Safari. --- src/offset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/offset.js b/src/offset.js index cc1b874..69f624d 100644 --- a/src/offset.js +++ b/src/offset.js @@ -51,7 +51,7 @@ jQuery.offset = { initialize: function() { if ( this.initialized ) return; var body = document.body, container = document.createElement('div'), innerDiv, checkDiv, table, td, rules, prop, bodyMarginTop = body.style.marginTop, - html = '
'; + html = '
'; 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]; -- 1.7.10.4