mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixing ids for selenium (#5874)
This commit is contained in:
@@ -36,7 +36,7 @@ export function createSafeId(str) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return str.replace(' ', '_');
|
||||
return str.replace(new RegExp(' ', 'g'), '_');
|
||||
}
|
||||
|
||||
export function cmdOrCtrlPressed(e) {
|
||||
|
||||
Reference in New Issue
Block a user