diff options
author | Stefan Weil <sw@weilnetz.de> | 2016-05-12 23:58:14 +0300 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2016-05-12 23:58:14 +0300 |
commit | a1cf31cf9a71b3cf49c06dcf05e1d21161112295 (patch) | |
tree | b71617383c42efd17db66c8062eefa1574115f6e /plugins/CoreHome/javascripts/broadcast.js | |
parent | f2a93e2583f282d7a080c837e0469b4e1468a066 (diff) |
plugins: Fix typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'plugins/CoreHome/javascripts/broadcast.js')
-rw-r--r-- | plugins/CoreHome/javascripts/broadcast.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/javascripts/broadcast.js b/plugins/CoreHome/javascripts/broadcast.js index c0cc7d81c4..c4152b197f 100644 --- a/plugins/CoreHome/javascripts/broadcast.js +++ b/plugins/CoreHome/javascripts/broadcast.js @@ -324,7 +324,7 @@ var broadcast = { valFromUrl = getQuotedRegex(valFromUrl); var regToBeReplace = new RegExp(paramName + '=' + valFromUrl, 'ig'); if (newParamValue == '') { - // if new value is empty remove leading &, aswell + // if new value is empty remove leading &, as well regToBeReplace = new RegExp('[\&]?' + paramName + '=' + valFromUrl, 'ig'); } urlStr = urlStr.replace(regToBeReplace, newParamValue); |