Files
zulip/zephyr/static/js/common.js
Keegan McAllister 2f749afc8d Tweak JSLint options
(imported from commit 7e7582a48228b879ea29c2a27eb22e46e093f9dc)
2012-10-03 18:26:00 -04:00

10 lines
201 B
JavaScript

/*jslint browser: true, devel: true, sloppy: true,
plusplus: true, white: true */
/*global $: false */
function autofocus(selector) {
$(function () {
$(selector)[0].focus();
});
}