Skip to content

Commit 8521f37

Browse files
committed
fix modebar <style> update in IE11
1 parent 0124828 commit 8521f37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ lib.addRelatedStyleRule = function(uid, selector, styleString) {
713713
lib.deleteRelatedStyleRule = function(uid) {
714714
var id = 'plotly.js-style-' + uid,
715715
style = document.getElementById(id);
716-
if(style) style.remove();
716+
if(style) lib.removeElement(style);
717717
};
718718

719719
lib.isIE = function() {

0 commit comments

Comments
 (0)