mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 09:08:10 +08:00
More Markdown refactoring - fixed bug with Pagedown not showing on user profile - replaced jQuery occurrences with $.
This commit is contained in:
@ -3,7 +3,7 @@ Discourse.Report = Discourse.Model.extend({});
|
||||
Discourse.Report.reopenClass({
|
||||
find: function(type) {
|
||||
var model = Discourse.Report.create();
|
||||
jQuery.ajax("/admin/reports/" + type, {
|
||||
$.ajax("/admin/reports/" + type, {
|
||||
type: 'GET',
|
||||
success: function(json) {
|
||||
model.mergeAttributes(json.report);
|
||||
|
Reference in New Issue
Block a user