Skip to content

Commit

Permalink
Merge pull request #328 from nextcloud/bump-toastify-js
Browse files Browse the repository at this point in the history
Bump ToastifyJS to 1.10.0
  • Loading branch information
ChristophWurst authored Apr 7, 2021
2 parents 770eed0 + e0dc11d commit 7ae200f
Show file tree
Hide file tree
Showing 5 changed files with 5,079 additions and 13 deletions.
2 changes: 1 addition & 1 deletion l10n/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"

#: lib/toast.ts:191
#: lib/toast.ts:192
msgid "Undo"
msgstr ""
1 change: 1 addition & 0 deletions lib/toast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export function showMessage(data: string|Node, options?: ToastOptions): Toast {
position: 'right',
backgroundColor: '',
className: 'dialogs ' + classes,
escapeMarkup: !options.isHTML,
})
toast.showToast()
return toast
Expand Down
2 changes: 1 addition & 1 deletion lib/toastify.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ declare module 'toastify-js' {
stopOnFocus?: Boolean,
callback?: Function,
onClick?: Function,

escapeMarkup?: boolean,
}

export default function Toastify(a: ToastifyOptions): Toast;
Expand Down
Loading

0 comments on commit 7ae200f

Please sign in to comment.