Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix syntax highlight initialization #7617

Merged
merged 3 commits into from
Jul 25, 2019
Merged

Commits on Jul 25, 2019

  1. Fix syntax highlight initialization

    Previously hljs was initialized via a function that relies on the
    DOMContentLoaded event, registerd after jQuery's 'ready' event. I assume
    that with the recent jQuery update, DOMContentLoaded may not be
    guaranteed to fire after 'ready'. Fixed this via vanilla JS initalization.
    
    Fixes: go-gitea#7559
    silverwind committed Jul 25, 2019
    Configuration menu
    Copy the full SHA
    6998fc1 View commit details
    Browse the repository at this point in the history
  2. semicolon

    silverwind committed Jul 25, 2019
    Configuration menu
    Copy the full SHA
    54aa5a3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cacc7bb View commit details
    Browse the repository at this point in the history