Skip to content
Browse files

wiki: JS cleanup

  • Loading branch information...
1 parent 21197a8 commit d2cbe5039870b623d601ac4a61aaee03f537252e @andre-d andre-d committed with spladug
Showing with 2 additions and 2 deletions.
  1. +1 −1 r2/r2/public/static/js/utils.js
  2. +1 −1 r2/r2/public/static/js/wiki.js
View
2 r2/r2/public/static/js/utils.js
@@ -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
View
2 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

0 comments on commit d2cbe50

Please sign in to comment.
Something went wrong with that request. Please try again.