linter says the escapes are not needed

This commit is contained in:
Girish Ramakrishnan
2020-08-08 17:58:48 -07:00
parent b9973d69c3
commit 91d4d95cb4

View File

@@ -392,8 +392,8 @@ app.filter('postInstallMessage', function () {
if (!app) return text;
// [^] matches even newlines. '?' makes it non-greedy
if (app.sso) return text.replace(/\<nosso\>[^]*?\<\/nosso\>/g, '');
else return text.replace(/\<sso\>[^]*?\<\/sso\>/g, '');
if (app.sso) return text.replace(/<nosso>[^]*?<\/nosso>/g, '');
else return text.replace(/<sso>[^]*?<\/sso>/g, '');
};
});