Skip to content

Commit

Permalink
Fix the fix
Browse files Browse the repository at this point in the history
Applies to OpenUserJS#226
  • Loading branch information
Martii committed Jun 29, 2014
1 parent e517664 commit 64ee3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ var getScriptPageTasks = function (options) {
if (script.meta.oujs && script.meta.oujs.author && script.meta.oujs.collaborator) {
options.hasCollab = true;
if (typeof script.meta.oujs.collaborator === 'string') {
options.script.oujs.collaborators = [{ url: encodeURIComponent(script.meta.oujs.collaborator), text: script.meta.oujs.collaborator }];
options.script.collaborators = [{ url: encodeURIComponent(script.meta.oujs.collaborator), text: script.meta.oujs.collaborator }];
} else {
options.script.collaborators = [];
script.meta.oujs.collaborator.forEach(function (collaborator) {
Expand Down

0 comments on commit 64ee3ed

Please sign in to comment.