From 0d7623e29fa3925c61bf41a4d14764696c72bb3f Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Tue, 1 Nov 2016 10:50:19 +0800 Subject: [PATCH] fix pasting urls --- frontend/src/Metamaps/PasteInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Metamaps/PasteInput.js b/frontend/src/Metamaps/PasteInput.js index e44a284e..5d45d0fc 100644 --- a/frontend/src/Metamaps/PasteInput.js +++ b/frontend/src/Metamaps/PasteInput.js @@ -58,7 +58,7 @@ const PasteInput = { } }, - handle: function(text, coords = null) { + handle: function(text, coords = {}) { var self = PasteInput if (text.match(self.URL_REGEX)) {