Merge pull request #1141 from TheSned/DrawToolsPasteIssue
Fix Draw Tools Paste to support intel urls without www
This commit is contained in:
		| @@ -439,7 +439,7 @@ window.plugin.drawTools.optPaste = function() { | ||||
|     try { | ||||
|       // first see if it looks like a URL-format stock intel link, and if so, try and parse out any stock drawn items | ||||
|       // from the pls parameter | ||||
|       if (promptAction.match(new RegExp("^(https?://)?(www\\.)ingress\\.com/intel.*[?&]pls="))) { | ||||
|       if (promptAction.match(new RegExp("^(https?://)?(www\\.)?ingress\\.com/intel.*[?&]pls="))) { | ||||
|         //looks like a ingress URL that has drawn items... | ||||
|         var items = promptAction.split(/[?&]/); | ||||
|         var foundAt = -1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user