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:
父節點
f7548ed7e9
當前提交
1c478768ad
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user