'use strict'; window.customStart = () => { $('#pad_title').show(); $('.buttonicon').on('mousedown', function () { $(this).parent().addClass('pressed'); }); $('.buttonicon').on('mouseup', function () { $(this).parent().removeClass('pressed'); }); };