From 644df6fcdcc69311bdec074d2f4ac407a1a0e46a Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Tue, 1 Nov 2016 16:01:34 +0800 Subject: [PATCH] fix pasting urls (#901) --- 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)) {