mirror of
https://github.com/Mibew/button-refresh-plugin.git
synced 2025-01-22 09:30:31 +03:00
Remane "mibewAgentButton" id to "mibew-agent-button"
This commit is contained in:
parent
3c1863bdae
commit
e2b1fa2247
@ -126,7 +126,7 @@ class Plugin extends AbstractPlugin implements PluginInterface
|
|||||||
protected function buildRefreshJs($time)
|
protected function buildRefreshJs($time)
|
||||||
{
|
{
|
||||||
$js = '(function() {'
|
$js = '(function() {'
|
||||||
. 'var img = document.getElementById("mibewAgentButton").getElementsByTagName("img")[0];'
|
. 'var img = document.getElementById("mibew-agent-button").getElementsByTagName("img")[0];'
|
||||||
. 'var originalSrc = img.src;'
|
. 'var originalSrc = img.src;'
|
||||||
. 'setInterval(function() {'
|
. 'setInterval(function() {'
|
||||||
. 'img.src = originalSrc + "&dummy=" + (new Date()).getTime();'
|
. 'img.src = originalSrc + "&dummy=" + (new Date()).getTime();'
|
||||||
|
Loading…
Reference in New Issue
Block a user