handle Socialnetworkmaintaining from Irssi script (motivated by newly created wiki page)
This commit is contained in:
@@ -42,7 +42,7 @@ function responseCheck(task) {
|
||||
timeThreshold = 600;
|
||||
aboveThreshold = ( timeThreshold < time_spent );
|
||||
aboveThreshold = true; //kept until actived to maintain previous behavior
|
||||
if (task == 'Reading\n' || task == 'Programming\n'){
|
||||
if (task == 'Reading\n' || task == 'Programming\n' || task == 'Socialnetworkmaintaining\n'){
|
||||
if ( !aboveThreshold ) {
|
||||
//under threshold, just display a warning and the content
|
||||
document.body.innerHTML="You should be focusing on <a href=\""+cognitiveEnvironmentURL+task+"\">"
|
||||
|
||||
Reference in New Issue
Block a user