Skip to content

Minor issue with JQuery #14

@Dubbsman

Description

@Dubbsman

I was getting scrip errors and the Display Setting page (admin) was not rendering correctly. It seems that I am getting $ is undefined, which I have seen when Jquery is not the 1st script declared. I made the fix in 2 cshtml files and appears to be working correctly.

DisplaySettings.cshtml
@model WebAdvanced.Sitemap.ViewModels.DisplaySettingsPageModel
@{
Script.Require("JQuery").AtHead();

IndexSettingsModel.cshtml
@model WebAdvanced.Sitemap.ViewModels.IndexSettingsModel
@{
Script.Require("JQuery").AtHead();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions