mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-28 09:04:33 +03:00
Remane "mibewAgentButton" id to "mibew-agent-button"
This commit is contained in:
parent
506425a9e1
commit
243fa1a1d9
src/mibew
@ -460,9 +460,9 @@ var Mibew = {};
|
||||
* Accept invitation and open chat window
|
||||
*/
|
||||
Mibew.Invitation.accept = function() {
|
||||
if (document.getElementById('mibewAgentButton')) {
|
||||
if (document.getElementById('mibew-agent-button')) {
|
||||
Mibew.Invitation.trigger('accept');
|
||||
document.getElementById('mibewAgentButton').onclick();
|
||||
document.getElementById('mibew-agent-button').onclick();
|
||||
Mibew.Invitation.hide();
|
||||
}
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ class TextGenerator extends AbstractGenerator
|
||||
$link = HTML5\html('a', $message);
|
||||
|
||||
$link->setAttributes(array(
|
||||
'id' => 'mibewAgentButton',
|
||||
'id' => 'mibew-agent-button',
|
||||
'href' => str_replace('&', '&', $this->getChatUrl()),
|
||||
'target' => '_blank',
|
||||
'onclick' =>sprintf(
|
||||
|
Loading…
Reference in New Issue
Block a user