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:
Diffstat (limited to 'plugins/Overlay/client/client.js')
-rw-r--r--plugins/Overlay/client/client.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Overlay/client/client.js b/plugins/Overlay/client/client.js
index 5fd99c466b..9ae78cf3b1 100644
--- a/plugins/Overlay/client/client.js
+++ b/plugins/Overlay/client/client.js
@@ -185,7 +185,7 @@ var Piwik_Overlay_Client = (function () {
return function () {
item.remove();
- if (statusBar.children().size() == 0) {
+ if (!statusBar.children().length) {
statusBar.hide();
}
};
@@ -194,7 +194,7 @@ var Piwik_Overlay_Client = (function () {
/** Hide all notifications with a certain class */
hideNotifications: function (className) {
statusBar.find('.PIS_' + className).remove();
- if (statusBar.children().size() == 0) {
+ if (!statusBar.children().length) {
statusBar.hide();
}
},