Skip to content

Commit

Permalink
Fixed the button title not using Contao tips
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed May 24, 2023
1 parent 1ee1061 commit 9aef364
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion core-bundle/assets/controllers/image-size-controller.js
Expand Up @@ -14,6 +14,7 @@ export default class extends Controller {
this.select = this.element.querySelector('select');
this.button = document.createElement('button');
this.button.type = 'button';
this.button.title = '';
this.buttonImage = document.createElement('img');
this.button.append(this.buttonImage);
this.element.parentNode.classList.add('wizard');
Expand All @@ -38,7 +39,7 @@ export default class extends Controller {
this.button.disabled = false;
this.buttonImage.src = this.configValue.icon;
} else {
delete this.button.title;
this.button.title = '';
this.button.disabled = true;
this.buttonImage.src = this.configValue.iconDisabled;
}
Expand Down
2 changes: 0 additions & 2 deletions core-bundle/public/backend.1cb052c0.js

This file was deleted.

2 changes: 2 additions & 0 deletions core-bundle/public/backend.b69d197e.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core-bundle/public/entrypoints.json
Expand Up @@ -2,7 +2,7 @@
"entrypoints": {
"backend": {
"js": [
"/bundles/contaocore/backend.1cb052c0.js"
"/bundles/contaocore/backend.b69d197e.js"
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions core-bundle/public/manifest.json
@@ -1,4 +1,4 @@
{
"backend.js": "/bundles/contaocore/backend.1cb052c0.js",
"backend.1cb052c0.js.map": "/bundles/contaocore/backend.1cb052c0.js.map"
"backend.js": "/bundles/contaocore/backend.b69d197e.js",
"backend.b69d197e.js.map": "/bundles/contaocore/backend.b69d197e.js.map"
}

0 comments on commit 9aef364

Please sign in to comment.