Skip to content

Commit e36c58c

Browse files
committed
maint(pat inject): Specify allowed values for the history parameter.
1 parent 144240d commit e36c58c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pat/inject/inject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ parser.addArgument("loading-class", "injecting"); // Add a class to the target w
3434
parser.addArgument("executing-class", "executing"); // Add a class to the element while content is still loading.
3535
parser.addArgument("executed-class", "executed"); // Add a class to the element when content is loaded.
3636
parser.addArgument("class"); // Add a class to the injected content.
37-
parser.addArgument("history");
37+
parser.addArgument("history", "none", ["none", "record"]);
3838
parser.addArgument("push-marker");
3939
parser.addArgument("scroll");
4040
// XXX: this should not be here but the parser would bail on

0 commit comments

Comments
 (0)