fix pasting urls

This commit is contained in:
Devin Howard 2016-11-01 10:50:19 +08:00
parent c10a4f4837
commit 0d7623e29f

View file

@ -58,7 +58,7 @@ const PasteInput = {
}
},
handle: function(text, coords = null) {
handle: function(text, coords = {}) {
var self = PasteInput
if (text.match(self.URL_REGEX)) {