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:
authorsgiehl <stefan@piwik.org>2015-12-07 20:11:27 +0300
committersgiehl <stefan@piwik.org>2015-12-07 20:11:27 +0300
commit17bcab7848bddf6d4a25f0cce9e4d594936d673e (patch)
treef68103661aa8d2c4c3fa9c0ec8a4174368bb65c0 /plugins/CoreHome
parent93cf5309335ac238d0ae4667c7b6da316623d889 (diff)
use piwikHelper.htmlDecode
Diffstat (limited to 'plugins/CoreHome')
-rw-r--r--plugins/CoreHome/javascripts/popover.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/javascripts/popover.js b/plugins/CoreHome/javascripts/popover.js
index 308fc7a4bb..f7f366b149 100644
--- a/plugins/CoreHome/javascripts/popover.js
+++ b/plugins/CoreHome/javascripts/popover.js
@@ -142,7 +142,7 @@ var Piwik_Popover = (function () {
/** Set the title of the popover */
setTitle: function (titleHtml) {
- var titleText = $('<div>' + titleHtml + '</div>').text();
+ var titleText = piwikHelper.htmlDecode(titleHtml);
if (titleText.length > 60) {
titleHtml = $('<span>').attr('class', 'tooltip').attr('title', titleText).html(titleHtml);
}