browser-extension-settings 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/settings.ts +4 -1
  2. package/package.json +1 -1
package/lib/settings.ts CHANGED
@@ -336,7 +336,10 @@ function createSettingsElement() {
336
336
 
337
337
  case "textarea": {
338
338
  let timeoutId: number | undefined
339
- addElement(optionGroup, "textarea", {
339
+ const div = addElement(optionGroup, "div", {
340
+ class: "bes_textarea",
341
+ })
342
+ addElement(div, "textarea", {
340
343
  "data-key": key,
341
344
  placeholder: (item as SettingsInputItem).placeholder || "",
342
345
  onkeyup(event: Event) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browser-extension-settings",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Settings module for developing browser extensions and userscripts",
5
5
  "type": "module",
6
6
  "main": "./lib/index.ts",