Commit ad93ad9d authored by mmn's avatar mmn

Only Firefox has predefined js function args (thanks MrB)

parent 1b5af347
......@@ -1382,7 +1382,8 @@ var SN = { // StatusNet
*
* @param {String} tag
*/
switchInputFormTab: function (tag, setFocus=true) {
switchInputFormTab: function (tag, setFocus) {
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) {
......
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