From e2b1fa2247f71aa89941b6d19755509c4afa3603 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Thu, 18 Dec 2014 13:56:05 +0000 Subject: [PATCH] Remane "mibewAgentButton" id to "mibew-agent-button" --- Plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugin.php b/Plugin.php index 2daaedf..dbdc1e3 100644 --- a/Plugin.php +++ b/Plugin.php @@ -126,7 +126,7 @@ class Plugin extends AbstractPlugin implements PluginInterface protected function buildRefreshJs($time) { $js = '(function() {' - . 'var img = document.getElementById("mibewAgentButton").getElementsByTagName("img")[0];' + . 'var img = document.getElementById("mibew-agent-button").getElementsByTagName("img")[0];' . 'var originalSrc = img.src;' . 'setInterval(function() {' . 'img.src = originalSrc + "&dummy=" + (new Date()).getTime();'