@knowark/componarkjs 1.12.1 → 1.13.0

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.
@@ -133,7 +133,7 @@ export class Paginator extends Component {
133
133
  }
134
134
 
135
135
  _buildButton (element, handler, content, attributes = []) {
136
- const button = element ?? document.createElement('button')
136
+ const button = (element ?? document.createElement('button')).cloneNode(true)
137
137
  button.innerHTML = button.innerHTML || content
138
138
  if (handler) {
139
139
  button.setAttribute('paginator-listen', '')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowark/componarkjs",
3
- "version": "1.12.1",
3
+ "version": "1.13.0",
4
4
  "author": "Knowark",
5
5
  "description": "Knowark's Web Components Library",
6
6
  "license": "ISC",