mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-27 23:24:26 +00:00
fix of wrong options' notification test setup
This commit is contained in:
parent
9279b93edf
commit
316ea505f1
@ -312,8 +312,8 @@ twisterOptions.prototype.initControls = function () {
|
|||||||
|
|
||||||
$('#testDesktopNotif').on('click', function () {
|
$('#testDesktopNotif').on('click', function () {
|
||||||
$.MAL.showDesktopNotification({
|
$.MAL.showDesktopNotification({
|
||||||
title: polyglot.t('notify_desktop_test'),
|
body: polyglot.t('notify_desktop_test'),
|
||||||
body: 'twister_notification_test',
|
tag: 'twister_notification_test',
|
||||||
funcClick: function () {
|
funcClick: function () {
|
||||||
alert(polyglot.t('notify_desktop_perm_denied', {'this_domain': document.domain}));
|
alert(polyglot.t('notify_desktop_perm_denied', {'this_domain': document.domain}));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user