src/js/layout.js
branchpopcorn-port
changeset 842 4ae2247a59f4
parent 840 ac66e2240e1e
child 868 a525cc2214e7
--- a/src/js/layout.js	Tue Apr 03 20:30:12 2012 +0200
+++ b/src/js/layout.js	Fri Apr 06 16:49:32 2012 +0200
@@ -64,7 +64,7 @@
     this._widgets.push([widgetName, newDiv]);    
 
     var divTempl = "<div id='{{id}}' style='width: {{width}}px; position: relative; clear: both;'></div";
-    var spacerTempl = "<div id='{{spacer_id}}' style='width: {{width}}px; position: relative; height: {{spacer_div_height}};'></div";
+    var spacerTempl = "<div id='{{spacer_id}}' style='width: {{width}}px; position: relative; height: {{spacer_div_height}}px;'></div";
     
     var divCode = Mustache.to_html(divTempl, {id: newDiv, width: this._width});
     var spacerCode = Mustache.to_html(spacerTempl, {spacer_id: spacerDiv, width: this._width,