problem with background caused by JS errors
[redakcja.git] / redakcja / static / js / lib / jquery / jquery.imgareaselect.js
index d981fdc..cb31eef 100644 (file)
@@ -39,13 +39,13 @@ $.imgAreaSelect = function (img, options) {
 
         left, top,
 
-        imgOfs,
+        imgOfs = { left: 0, top: 0 },
 
         imgWidth, imgHeight,
 
         $parent,
 
-        parOfs,
+        parOfs = { left: 0, top: 0 },
 
         zIndex = 0,