Skip to content

Commit

Permalink
Added title attribute to error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyjb committed Nov 23, 2019
1 parent c4c78f3 commit ea5921f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion module/ui/error-message.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,13 @@ export class ErrorMessage {
const cls = this.constructor

// Create the error element
this._dom.error = $.create('div', {'class': cls.css['error']})
this._dom.error = $.create(
'div',
{
'class': cls.css['error'],
'title': message
}
)

// Create the clear element
this._dom.clear = $.create('div', {'class': cls.css['clear']})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "manhattan-assets",
"version": "1.0.0-beta.15",
"version": "1.0.0-beta.16",
"description": "File and image uploads for forms.",
"engines": {
"node": ">=8.9.4"
Expand Down

0 comments on commit ea5921f

Please sign in to comment.