Version 4.1.19
This commit is contained in:
1 parent
28bd025b35
commit
2bd5025018
2674 files changed
+233518
-77766
No files matched your search
@@ -1,5 +1,11 @@
|
||||
//<?php
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
class chat_hook_tabNewWindow extends _HOOK_CLASS_
|
||||
{
|
||||
/**
|
||||
@@ -18,7 +24,7 @@ class chat_hook_tabNewWindow extends _HOOK_CLASS_
|
||||
|
||||
\IPS\Output::i()->endBodyCode .= <<<HTML
|
||||
<script type='text/javascript'>
|
||||
$('.elNavigation_app_chat_Chat').click( function( e ){
|
||||
$('[data-role="navBarItem"][data-navapp="chat"][data-navext="Chat"] a').click( function( e ){
|
||||
e.preventDefault();
|
||||
|
||||
var joinWith = '?';
|
||||
|
||||
Reference in new issue
Block a user