Skip to content

Commit d4894e2

Browse files
committed
add some FIXMEs in queue.js regarding Tabs
1 parent 9f966b1 commit d4894e2

File tree

1 file changed

+4
-2
lines changed
  • shelly/plotlyjs/static/plotlyjs/src

1 file changed

+4
-2
lines changed

shelly/plotlyjs/static/plotlyjs/src/queue.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ queue.undo = function undo (gd) {
8787
var queueObj,
8888
i;
8989

90-
if (!gd) { gd = Tabs.get(); }
90+
if(!gd) gd = Tabs.get(); // FIXME
91+
9192
if(gd.framework && gd.framework.isPolar){
9293
gd.framework.undo();
9394
return;
@@ -122,7 +123,8 @@ queue.redo = function redo (gd) {
122123
var queueObj,
123124
i;
124125

125-
if (!gd) { gd = Tabs.get(); }
126+
if(!gd) gd = Tabs.get(); // FIXME
127+
126128
if(gd.framework && gd.framework.isPolar){
127129
gd.framework.redo();
128130
return;

0 commit comments

Comments
 (0)