We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 1c478768 authored by mattl's avatar mattl

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 ...@@ -1383,7 +1383,7 @@ var SN = { // StatusNet
* @param {String} tag * @param {String} tag
*/ */
switchInputFormTab: function (tag, setFocus) { 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 // The one that's current isn't current anymore
$('.input_form_nav_tab.current').removeClass('current'); $('.input_form_nav_tab.current').removeClass('current');
if (tag != null) { if (tag != null) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment