Skip to content

Commit 81d95b1

Browse files
Warren Buckleyronaldbarendse
andauthored
Update Our.Umbraco.TagHelpers/IsActivePageTagHelper.cs
Co-authored-by: Ronald Barendse <[email protected]>
1 parent 2a51693 commit 81d95b1

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
@@ -36,7 +36,7 @@ public override void Process(TagHelperContext context, TagHelperOutput output)
3636
{
3737
// Remove the attribute
3838
// We don't want it in the markup we send down to the page
39-
output.Attributes.RemoveAll("our-is-active-page");
39+
output.Attributes.RemoveAll(tagHelperAttributeName);
4040

4141
var ctx = _umbracoContextAccessor.GetRequiredUmbracoContext();
4242

0 commit comments

Comments
 (0)