new Noty({ type: 'error', text: '請先登入!' }).show(); $("a[href='#modal-register']").click()