aboutsummaryrefslogtreecommitdiff
path: root/static/mywatch.js
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2016-06-17 17:34:47 +0800
committerIgor Pashev <pashev.igor@gmail.com>2016-06-17 17:34:47 +0800
commite641bcacd0dbb56dddb4eea13dbd15862a0022c9 (patch)
treeef1ad24e06f187b21779755da198be1da7163633 /static/mywatch.js
parent9fe740430fd459707f4fd8b0dd073a496326d48e (diff)
downloadmywatch-e641bcacd0dbb56dddb4eea13dbd15862a0022c9.tar.gz
Set window title to server name
Diffstat (limited to 'static/mywatch.js')
-rw-r--r--static/mywatch.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/mywatch.js b/static/mywatch.js
index 7ea728e..02d0bf6 100644
--- a/static/mywatch.js
+++ b/static/mywatch.js
@@ -75,6 +75,7 @@ $(function() {
});
$("#serverList a").on("click", function() {
var server = $(this).text();
+ document.title = server + ' — ' + 'MyWatch';
$(this).parent().parent().find('.active').removeClass('active');
$(this).parent().addClass('active');
clearInterval(interval);