Merge pull request #14502 from banjeremy/13765-annotation-editor-outside-viewport

remove check on axis.used in flot
pull/14506/head
Torkel Ödegaard 7 years ago committed by GitHub
commit 9773a2d419
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      public/vendor/flot/jquery.flot.js

@ -931,13 +931,13 @@ Licensed under the MIT license.
var res = {}, i, axis;
for (i = 0; i < xaxes.length; ++i) {
axis = xaxes[i];
if (axis && axis.used)
if (axis)
res["x" + axis.n] = axis.c2p(pos.left);
}
for (i = 0; i < yaxes.length; ++i) {
axis = yaxes[i];
if (axis && axis.used)
if (axis)
res["y" + axis.n] = axis.c2p(pos.top);
}

Loading…
Cancel
Save