Skip to content

Commit

Permalink
[merge addon] Fix IE10 compatibility
Browse files Browse the repository at this point in the history
By changing a function declaration to a variable declaration

Closes #6976
  • Loading branch information
marijnh committed Aug 11, 2022
1 parent 3b15f70 commit 9232cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/merge/merge.js
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@
var gapElts = [lockWrap];
if (dv.mv.options.revertButtons !== false) {
dv.copyButtons = elt("div", null, "CodeMirror-merge-copybuttons-" + dv.type);
function copyButtons(e) {
var copyButtons = function(e) {
var node = e.target || e.srcElement;
if (!node.chunk) return;
if (node.className == "CodeMirror-merge-copy-reverse") {
Expand Down

0 comments on commit 9232cb3

Please sign in to comment.