diff --git a/src/jquery.coords.js b/src/jquery.coords.js index 58a7072657..bf221804d3 100644 --- a/src/jquery.coords.js +++ b/src/jquery.coords.js @@ -59,6 +59,9 @@ var d = this.data; + typeof d.left === 'undefined' && (d.left = d.x1); + typeof d.top === 'undefined' && (d.top = d.y1); + this.coords.x1 = d.left; this.coords.y1 = d.top; this.coords.x2 = d.left + d.width;