Skip to content

Commit a0686c3

Browse files
author
Graham Butler
committed
remove options selection behavior
1 parent 02fe760 commit a0686c3

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@author.io/element-menu",
3-
"version": "1.0.3",
3+
"version": "1.0.4-beta.1",
44
"description": "author-menu custom element (web component).",
55
"main": "dist/author-menu.min.js",
66
"scripts": {

src/element.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,13 @@ class AuthorMenuElement extends AuthorBaseElement(HTMLElement) {
163163
this.removeAttribute('open')
164164
}
165165

166-
if (this.selectedOptionsElement !== undefined) {
167-
this.emit('options.selected', evt.detail.options, this.selectedOptionsElement)
168-
}
169-
170-
if (this.inputElement !== undefined) {
171-
this.emit('options.selected', evt.detail.options, this.inputElement)
172-
}
166+
// if (this.selectedOptionsElement !== undefined) {
167+
// this.emit('options.selected', evt.detail.options, this.selectedOptionsElement)
168+
// }
169+
//
170+
// if (this.inputElement !== undefined) {
171+
// this.emit('options.selected', evt.detail.options, this.inputElement)
172+
// }
173173

174174
// if (this.checkValidity()) {
175175
// this.removeAttribute('invalid')

0 commit comments

Comments
 (0)