Skip to content

Commit

Permalink
Fixed translations buttons click bug
Browse files Browse the repository at this point in the history
Original issue: spree-contrib/spree_globalize#99
Project issue:  mrbrdo#2
  • Loading branch information
Kulgar committed May 12, 2022
1 parent f696a02 commit f3b6a7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/spree/backend/taxon_tree_menu.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function() {
document.addEventListener("spree:load", function () {
var root;

root = typeof exports !== "undefined" && exports !== null ? exports : this;
Expand Down Expand Up @@ -46,4 +46,4 @@
};
};

}).call(this);
});
4 changes: 2 additions & 2 deletions app/assets/javascripts/spree/backend/translations.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function() {
document.addEventListener("spree:load", function () {
var display_locale_fields;

display_locale_fields = function() {
Expand Down Expand Up @@ -47,4 +47,4 @@
});
});

}).call(this);
});

0 comments on commit f3b6a7c

Please sign in to comment.