Loading lib/document_handler.js +1 −1 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ DocumentHandler.prototype.chooseKey = function(callback) { // Return a boolean indicating whether or not something can be a key DocumentHandler.potentialKey = function(key) { return key.match(/^[a-zA-Z0-9]+(\.[a-zA-Z]+?)$/); return key.match(/^[a-zA-Z0-9]+(\.[a-zA-Z]+)?$/); }; // Generate a random key Loading Loading
lib/document_handler.js +1 −1 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ DocumentHandler.prototype.chooseKey = function(callback) { // Return a boolean indicating whether or not something can be a key DocumentHandler.potentialKey = function(key) { return key.match(/^[a-zA-Z0-9]+(\.[a-zA-Z]+?)$/); return key.match(/^[a-zA-Z0-9]+(\.[a-zA-Z]+)?$/); }; // Generate a random key Loading