X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=30108c64c742c5bb55a092efbae2c88519db0166;hb=a52a0528f62b63d4850970e03e3528aeacfaf3e4;hp=26e15819727f1cc8b3347743757c4870efecba78;hpb=399b2e251dfa539d95e81bd3a20b47f114d9a5e2;p=brisk.git diff --git a/web/commons.js b/web/commons.js index 26e1581..30108c6 100644 --- a/web/commons.js +++ b/web/commons.js @@ -592,6 +592,7 @@ function notify(st, text, tout, butt, w, h) box.innerHTML = text; box.style.zIndex = 200; box.style.width = w+"px"; + box.style.marginLeft = -parseInt(w/2)+"px"; box.style.height = h+"px"; box.appendChild(clodiv); box.style.visibility = "visible";