Minor bug. Was being called in an else clause dependent on some help context
logic for new tabs, but should be called for every new tab. Shouldn't result
in any end-user visible change, but if interfaces wrapped in browser.js were
to have a default_focus function, then this could come into play.
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
'src' : ''
};
obj.set_help_context(help_params);
- } else if (typeof cw.default_focus == 'function') {
+ }
+ if (typeof cw.default_focus == 'function') {
cw.default_focus();
}
} catch(E) {