Skip to content

Commit

Permalink
Fix toast again
Browse files Browse the repository at this point in the history
  • Loading branch information
dceejay committed Apr 16, 2023
1 parent 72f6fdf commit 380a514
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/node_modules
node-*.tgz
package-lock.json
.DS_Store
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ app.controller('MainController', ['$mdSidenav', '$window', 'UiEvents', '$locatio
.ariaLabel(msg.ok)
.ok(msg.msg.ok || msg.ok)
}
confirm._options.template = '<md-dialog md-theme="{{ dialog.theme || dialog.defaultTheme }}" aria-label="{{ dialog.ariaLabel }}" class="' + msg.toastClass || "" + '">' +
confirm._options.template = '<md-dialog md-theme="{{ dialog.theme || dialog.defaultTheme }}" aria-label="{{ dialog.ariaLabel }}" class="' + msg.toastClass + '">' +
'<md-dialog-content class="md-dialog-content" role="document" tabIndex="-1">' +
'<h2 class="md-title">{{ dialog.title }}</h2>' +
'<div ng-if="::dialog.mdHtmlContent" class="md-dialog-content-body"ng-bind-html="::dialog.mdHtmlContent | trusted"></div>' +
Expand Down

0 comments on commit 380a514

Please sign in to comment.