From 1c478768ad2558dd0f789d3941da2162fdb34a76 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 5 Feb 2015 12:13:01 +0100 Subject: [PATCH] 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?! --- js/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/util.js b/js/util.js index c31dde1e12..9c727e9a53 100644 --- a/js/util.js +++ b/js/util.js @@ -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 $('.input_form_nav_tab.current').removeClass('current'); if (tag != null) {