Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2013-10-29 06:00:08 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-10-29 06:00:08 +0400
commit024d784426b7e953930369233fb68a7a8e6de55b (patch)
tree80769fdeaaeab20cc73f2841335d04e902477258 /plugins/CoreHome/javascripts/notification.js
parent167c9f04de6bb247c067737bc177dd86f5af7581 (diff)
refs #4179 fix property should be lowercase otherwise it does not work with data attribute
Diffstat (limited to 'plugins/CoreHome/javascripts/notification.js')
-rw-r--r--plugins/CoreHome/javascripts/notification.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreHome/javascripts/notification.js b/plugins/CoreHome/javascripts/notification.js
index 6d1e4ddb52..1a2240ac7d 100644
--- a/plugins/CoreHome/javascripts/notification.js
+++ b/plugins/CoreHome/javascripts/notification.js
@@ -34,7 +34,7 @@
* 'error'
* @param {string} [options.type=transient] The type of the notification: Either 'toast' or 'transitent'
* @param {bool} [options.noclear=false] If set, the close icon is not displayed.
- * @param {string} [options.placeAt] By default, the notification will be displayed in the "stats bar".
+ * @param {string} [options.placeat] By default, the notification will be displayed in the "stats bar".
* You can specify any other CSS selector to place the notifications
* whereever you want.
*/
@@ -119,7 +119,7 @@
function placeNotification(template, options) {
var $notificationNode = $(template).hide();
- $(options.placeAt || '#notificationContainer').append($notificationNode);
+ $(options.placeat || '#notificationContainer').append($notificationNode);
if (false === options.animate) {
$notificationNode.show();