Commit 1c478768 authored by mmn's avatar mmn

True isn't true in Javascript.

Apparently True isn't true in javascript. They fiddle around like crazy with
loose typing (causing all kinds of problems) but vars are case sensitive?!
parent f7548ed7
......@@ -1383,7 +1383,7 @@ var SN = { // StatusNet
* @param {String} tag
switchInputFormTab: function (tag, setFocus) {
if (typeof setFocus === 'undefined') { setFocus = True; }
if (typeof setFocus === 'undefined') { setFocus = true; }
// The one that's current isn't current anymore
if (tag != null) {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment