aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorGitoffthelawn <Gitoffthelawn@users.noreply.github.com>2020-01-03 01:35:59 -0800
committerGitHub <noreply@github.com>2020-01-03 01:35:59 -0800
commit0453e5bdc580fd456e010bf7a37d88121675aa27 (patch)
tree9215d68455474b671134039e8084b8b6b72fbf11 /js
parentc3aa529f6923972054871ca0b5e48179acdfc625 (diff)
parent5a52a13850607443d8f76ecad92e498a66d13166 (diff)
Merge branch 'master' into patch-10
Diffstat (limited to 'js')
-rw-r--r--js/redirect.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/redirect.js b/js/redirect.js
index 65d6132..0eb422f 100644
--- a/js/redirect.js
+++ b/js/redirect.js
@@ -19,7 +19,7 @@ Redirect.requestTypes = {
script : "Scripts",
image : "Images",
imageset: "Responsive Images in Firefox",
- object : "Objects (e.g. Flash videos, Java applets)",
+ object : "Objects (e.g. Flash content, Java applets)",
xmlhttprequest : "XMLHttpRequests (Ajax)",
history : "HistoryState",
other : "Other"
@@ -161,8 +161,8 @@ Redirect.prototype = {
// this.error = 'The redirect result must start with http:// or https://, current result is: "' + match.redirectTo;
// return;
//}
-
- if (!match.isMatch) {
+
+ if (!match.isMatch) {
this.error = 'The include pattern does not match the example url.';
return;
}