Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
wiki: JS cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-d authored and spladug committed Dec 6, 2012
1 parent 21197a8 commit d2cbe50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion r2/r2/public/static/js/utils.js
Expand Up @@ -32,7 +32,7 @@ r.utils = {

serializeForm: function(form) {
var params = {}
$.each(form.serializeArray(), function(index,value) {
$.each(form.serializeArray(), function(index, value) {
params[value.name] = value.value
})
return params
Expand Down
2 changes: 1 addition & 1 deletion r2/r2/public/static/js/wiki.js
@@ -1,6 +1,6 @@
r.wiki = {
request: function(req) {
if (reddit.logged) {
if (r.config.logged) {
req.data.uh = r.config.modhash
}
req.data.page = r.config.wiki_page
Expand Down

0 comments on commit d2cbe50

Please sign in to comment.