mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 18:36:14 -04:00

Normally I would let `eslint --fix` do this for me, but there's a bug that causes: const x = function () { // ... }; to become: const x = () => { // ... }; which ESLint thinks is a syntax error. (It probably is; I don't know enough about the automatic semicolon insertion rules to be confident.)
5 lines
220 B
JavaScript
5 lines
220 B
JavaScript
function customStart() {
|
|
$('#pad_title').show();
|
|
$('.buttonicon').mousedown(function() { $(this).parent().addClass('pressed'); })
|
|
$('.buttonicon').mouseup(function() { $(this).parent().removeClass('pressed'); })
|
|
}
|