From 355a2c900f0fa7d76812eb83b52aec51c3b1f9c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hasan=20Aydo=C4=9Fdu?= Date: Mon, 30 Jun 2014 17:36:03 +0300 Subject: [PATCH] Also added margin to calculation error window --- src/validetta.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validetta.js b/src/validetta.js index 6cc0654..ae8a828 100644 --- a/src/validetta.js +++ b/src/validetta.js @@ -443,7 +443,7 @@ var pos, W; // !! Here, JQuery functions are using to support the IE8 pos = $( el ).position(); - W = $( el ).outerWidth(); + W = $( el ).outerWidth(true); $( errorObject ).empty().css({ 'left' : pos.left + W + 15 +'px', 'top' : pos.top +'px'