Widget:TimerTest2: Difference between revisions

Jump to navigation Jump to search
Matt Pijoan (talk | contribs)
No edit summary
Matt Pijoan (talk | contribs)
No edit summary
Line 3: Line 3:
<script type='text/javascript'>
<script type='text/javascript'>
mw.loader.using('mediawiki.user',function(){
mw.loader.using('mediawiki.user',function(){
if ($.isEmptyObject(mw.user.getName())) {


             alert(window.location.pathname);
             alert(window.location.pathname);
Line 61: Line 60:
$(document).mousemove(function(){Obj2.resetTimer();});
$(document).mousemove(function(){Obj2.resetTimer();});
$(document).scroll(function(){Obj2.resetTimer();});
$(document).scroll(function(){Obj2.resetTimer();});
}
});
});
</script>
</script>

Revision as of 20:03, 16 April 2014