We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8300f3 commit 7b78f3cCopy full SHA for 7b78f3c
Resources/public/js/editInPlace.js
@@ -76,7 +76,8 @@ var TranslationBundleEditInPlace = function(saveUrl) {
76
var target = event.target || event.srcElement;
77
78
while (target) {
79
- if (target instanceof HTMLAnchorElement || target instanceof HTMLButtonElement) {
+ // Disable the default behavior on some active elements
80
+ if (target instanceof HTMLAnchorElement || target instanceof HTMLButtonElement || target instanceof HTMLLabelElement) {
81
if(ContentTools.EditorApp.get().isEditing()) {
82
// Link or button found, prevent default!
83
event.preventDefault();
0 commit comments