Skip to content

Commit

Permalink
Merge pull request #89 from WazeDev/beta
Browse files Browse the repository at this point in the history
2023.04.05.03
  • Loading branch information
dBsooner authored Apr 5, 2023
2 parents 72cbfe5 + ef92ea8 commit f76aa74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WME-URComments-Enhanced.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name WME URComments-Enhanced
// @namespace https://greasyfork.org/users/166843
// @version 2023.04.05.02
// @version 2023.04.05.03
// eslint-disable-next-line max-len
// @description URComments-Enhanced (URC-E) allows Waze editors to handle WME update requests more quickly and efficiently. Also adds many UR filtering options, ability to change the markers, plus much, much, more!
// @grant GM_xmlhttpRequest
Expand Down Expand Up @@ -2811,7 +2811,7 @@
urceData.fullText += `${urSessionsObj.comments[commentIdx].text} `;
urceData.commentUserIds.push(urSessionsObj.comments[commentIdx].userID);
}
if (/\[\s*\S+[\s\S]+\]/m.test(urceData.fullText))
if (/\[\s*\S+[\s\S]*\]/m.test(urceData.fullText))
urceData.containsSquareBrackets = true;
if (urceData.commentUserIds.indexOf(_wmeUserId) > -1)
urceData.commentsByMe = true;
Expand Down

0 comments on commit f76aa74

Please sign in to comment.