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?!
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user