Fix flush with strict DOCTYPE.

- With a strict doctype, the margin size needs a "px" suffix.
This commit is contained in:
Joel Martin 2010-11-06 14:11:30 -05:00
parent cdb55d26e5
commit c1d008f1ee
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ that.flush = function() {
//Util.Debug(">> flush");
// Force canvas redraw (for webkit bug #46319 workaround)
old_val = conf.target.style.marginRight;
conf.target.style.marginRight = "1";
conf.target.style.marginRight = "1px";
c_flush_timer = null;
setTimeout(function () {
conf.target.style.marginRight = old_val;