Don't break Zotero
This commit is contained in:
parent
6d18b46165
commit
b7aab8b8d2
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ Zotero.URI = new function () {
|
|||
* @return {Zotero.Library|false}
|
||||
*/
|
||||
this.getPathLibrary = function (path) {
|
||||
let matches = path.match(/^\/\/?users\/(\d+));
|
||||
let matches = path.match(/^\/\/?users\/(\d+)/);
|
||||
if (matches) {
|
||||
let userID = matches[1];
|
||||
let currentUserID = Zotero.Users.getCurrentUserID();
|
||||
|
|
Loading…
Reference in a new issue