Skip to content
Snippets Groups Projects
Commit efa474c9 authored by Marcelo Schmidt's avatar Marcelo Schmidt
Browse files

Merge branch 'develop' of github.com:RocketChat/Rocket.Chat into develop

parents 39265137 6916ba1a
No related merge requests found
......@@ -54,7 +54,7 @@ this.Triggers = (function() {
trigger.conditions.forEach(function(condition) {
switch (condition.name) {
case 'page-url':
if (request.href.match(new RegExp(urlRegex))) {
if (request.href.match(new RegExp(condition.value))) {
fire(trigger.actions);
}
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment