factormystic avatar factormystic committed bb94346

Don't use data that looks real as the default

Comments (0)

Files changed (1)

 		alert("Creating temperature text object");
 		if(last_temp == "")
 		{
-			last_temp = "70°";
+			last_temp = "--°";
 			alert("Setting default temp of "+last_temp);
 		}
 		
 
 	if(condition == null)
 	{
-		alert("Creating condition text object");
-		if(last_condition == "")
-		{
-			last_condition = "FAIR";
-			alert("Setting default condition of "+last_condition);
-		}
-		
+		alert("Creating condition text object");	
 		condition = bg.addTextObject(last_condition.replace("AND", "/").replace("MOSTLY",""), fonttype, 60, textcolor, 0, 70);
 		condition.opacity = 30;
 	}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.