1class ScriptArticleContentsInquiry extends Script { 2 constructor(params) { 3 super(params) 4 this.$dom = document.querySelector(`#${this.attrId}`) 5 6 7 this.modal = null 8 } 9 async init() { 10 this.initModal() 11 this.$dom.querySelector('.article-button-inquiry-button').addEventListener('click',()=>{ 12 this.modal.open(); 13 }) 14 } 15 initModal() { 16 this.modal = new Modal() 17 const $modal = this.$dom.querySelector('.inquiry-modal-inner') 18 if (!$modal) return 19 this.modal.init({ 20 body: $modal, 21 title_style: 1, 22 title: this.utilts.$t('Send Inquiry'), 23 size: 'lg', 24 className: 'inquiry-modal articleContentsbuttonInquiry', 25 isHideCancel: true, 26 isHideSubmit: true, 27 onSubmit: () => { 28 $modal.querySelector(`.btn`).click() 29 } 30 }) 31 } 32}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.