Commits

Anonymous committed 09f1bcb

Changed the string.replace to be a global replace

  • Participants
  • Parent commits 096ef82

Comments (0)

Files changed (1)

File FileUrlProject.js

 		// It's not necessary to cache the urls since it's just a matter of tacking on the 'file://' 
 		// in the front but I don't want to post an update 
 		// to the devtools panel unless I know it's an actual project url.
-		var url = this.projectUrls[path.replace('\\', '/')];
+		var url = this.projectUrls[path.replace(/\\/g, '/')];
 		if (url){
 			return[url];
 		}