Skip to content

Commit f7891ea

Browse files
author
Warren Buckley
committed
Merge branch 'feature/is-active-page' of https://github.com/umbraco-community/Our-Umbraco-TagHelpers into feature/is-active-page
2 parents abeedd5 + 81d95b1 commit f7891ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Our.Umbraco.TagHelpers/IsActivePageTagHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public override void Process(TagHelperContext context, TagHelperOutput output)
3737
{
3838
// Remove the attribute
3939
// We don't want it in the markup we send down to the page
40-
output.Attributes.RemoveAll("our-is-active-page");
40+
output.Attributes.RemoveAll(tagHelperAttributeName);
4141

4242
var ctx = _umbracoContextAccessor.GetRequiredUmbracoContext();
4343

0 commit comments

Comments
 (0)