fix pasting urls (#901)

This commit is contained in:
Devin Howard 2016-11-01 16:01:34 +08:00 committed by GitHub
parent c10a4f4837
commit 644df6fcdc

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)) {