mirror of
https://github.com/Mibew/title-notification-plugin.git
synced 2025-01-22 17:40:34 +03:00
Fix JS urls on non *nix systems
This commit is contained in:
parent
c6de6fd33e
commit
585438a2f5
@ -107,7 +107,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi
|
|||||||
$need_chat_plugin = $this->needChatPlugin($args['request']);
|
$need_chat_plugin = $this->needChatPlugin($args['request']);
|
||||||
|
|
||||||
if ($need_users_plugin || $need_chat_plugin) {
|
if ($need_users_plugin || $need_chat_plugin) {
|
||||||
$base_path = $this->getFilesPath();
|
$base_path = str_replace(DIRECTORY_SEPARATOR, '/', $this->getFilesPath());
|
||||||
$args['js'][] = $base_path . '/vendor/jquery-titlealert/jquery.titlealert.js';
|
$args['js'][] = $base_path . '/vendor/jquery-titlealert/jquery.titlealert.js';
|
||||||
|
|
||||||
if ($need_users_plugin) {
|
if ($need_users_plugin) {
|
||||||
|
Loading…
Reference in New Issue
Block a user