We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 007418fd authored by Sarven Capadisli's avatar Sarven Capadisli

Setting windowhasfocus to true by default

parent 0ae7a1df
......@@ -35,7 +35,7 @@ RealtimeUpdate = {
_deleteurl: '',
_updatecounter: 0,
_maxnotices: 50,
_windowhasfocus: false,
_windowhasfocus: true,
init: function(userid, replyurl, favorurl, deleteurl)
{
......@@ -48,7 +48,7 @@ RealtimeUpdate = {
$(window).bind('focus', function(){ RealtimeUpdate._windowhasfocus = true; });
$(window).blur(function() {
$(window).bind('blur', function() {
$('#notices_primary .notice').removeClass('mark-top');
$('#notices_primary .notice:first').addClass('mark-top');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment