X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=30108c64c742c5bb55a092efbae2c88519db0166;hb=68e57d31d97dcdd757e04f53628f785cf74bc2f2;hp=26e15819727f1cc8b3347743757c4870efecba78;hpb=a2f1fb77cb960b9fc707e67050929921b42a20c2;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";