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

editorial-comments.js - replace faulty $() with jQuery() to match the rest of file #506

Closed
wants to merge 2 commits into from

Conversation

jerclarke
Copy link
Contributor

  • On one of my sites, I was getting a site-breaking js error for $ not defined caused by line 26 of this file, which had a $() jQuery command
  • For some reason, most of my sites never had this problem, but this one did. Maybe it's a combination of plugins and a common one makes $() available by coincidence.
  • Either way, the surrounding code makes it obvious that editorial-comments relies on jQuery() being available, rather than $()
  • This patch just fixes that one line (which was the most recently added, it's part of the "notified list" feature added in 0.9) to match the rest and use jQuery() like a good kid.

… the rest of file

- On one of my sites, I was getting a site-breaking js error for `$ not defined` caused by line 26 of this file, which had a `$()` jQuery command
- For some reason, most of my sites never had this problem, but this one did. Maybe it's a combination of plugins and a common one makes `$()` available by coincidence.
- Either way, the surrounding code makes it obvious that `editorial-comments` relies on `jQuery()` being available, rather than `$()`
- This patch just fixes that one line (which was the most recently added, it's part of the "notified list" feature added in 0.9) to match the rest and use `jQuery()` like a good kid.
@szepeviktor
Copy link

szepeviktor commented Sep 11, 2019

@jerclarke #499 is already there.

@szepeviktor
Copy link

#499 was merged!

@dchymko
Copy link
Contributor

dchymko commented Oct 31, 2019

Closing as #499 addressed this.

@dchymko dchymko closed this Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants