UltrasonicNXT has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/184235

Change subject: Notifications close after 5 secs
......................................................................

Notifications close after 5 secs

As suggested by CJC95

Change-Id: I988aa50a311d6bddb95b6340d4cecf7e05951de3
---
M MediaWikiChat.js
M MediaWikiChat.php
2 files changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MediaWikiChat 
refs/changes/35/184235/1

diff --git a/MediaWikiChat.js b/MediaWikiChat.js
index a26fabb..0b91dcb 100644
--- a/MediaWikiChat.js
+++ b/MediaWikiChat.js
@@ -656,6 +656,10 @@
                notification.onclick = function() {
                        window.focus();
                };
+
+               setTimeout( function( notification ) {
+                       notification.close()
+               }, 5000, notification );
        },
 
        restartInterval: function( interval ) {
diff --git a/MediaWikiChat.php b/MediaWikiChat.php
index be0e77e..a07104f 100644
--- a/MediaWikiChat.php
+++ b/MediaWikiChat.php
@@ -16,7 +16,7 @@
 $wgExtensionCredits['specialpage'][] = array(
        'path' => __FILE__,
        'name' => 'MediaWikiChat',
-       'version' => '2.13.1',
+       'version' => '2.13.2',
        'author' => 'Adam Carter/UltrasonicNXT',
        'url' => 'https://www.mediawiki.org/wiki/Extension:MediaWikiChat',
        'descriptionmsg' => 'chat-desc',

-- 
To view, visit https://gerrit.wikimedia.org/r/184235
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I988aa50a311d6bddb95b6340d4cecf7e05951de3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MediaWikiChat
Gerrit-Branch: master
Gerrit-Owner: UltrasonicNXT <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to