Skip to content

Commit 38f799d

Browse files
comments
1 parent 9e623a6 commit 38f799d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/library.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575

7676
// remove the 'type' while refreshing the library page on creation of a new chart.
7777
// this is to avoid cases where users have filtered for chart type A and end up creating chart type B
78+
// remove 'addnew' as well so that the popup doesnt keep popping up.
7879
wnd.send_to_editor = function () {
7980
wnd.location.href = vu.base.replace(/type=[a-zA-Z]*/, '').replace(/addnew/, '');
8081
};

0 commit comments

Comments
 (0)