Browse Source

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

remove check on axis.used in flot
Torkel Ödegaard 7 years ago
parent
commit
9773a2d419
1 changed files with 2 additions and 2 deletions
  1. 2 2
      public/vendor/flot/jquery.flot.js

+ 2 - 2
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);
             }