Merge branch 'master' of https://github.com/primefaces/primevue
commit
0a065a4946
|
@ -160,7 +160,7 @@ function switchTheme(currentTheme, newTheme, linkElementId, callback) {
|
||||||
callback();
|
callback();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
linkElement.parentNode?.insertBefore(cloneLinkElement, linkElement.nextSibling);
|
linkElement.parentNode && linkElement.parentNode.insertBefore(cloneLinkElement, linkElement.nextSibling);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
|
@ -231,7 +231,7 @@ export default {
|
||||||
},
|
},
|
||||||
scrollTo(options) {
|
scrollTo(options) {
|
||||||
this.lastScrollPos = this.both ? { top: 0, left: 0 } : 0;
|
this.lastScrollPos = this.both ? { top: 0, left: 0 } : 0;
|
||||||
this.element?.scrollTo(options);
|
this.element && this.element.scrollTo(options);
|
||||||
},
|
},
|
||||||
scrollToIndex(index, behavior = 'auto') {
|
scrollToIndex(index, behavior = 'auto') {
|
||||||
const both = this.isBoth();
|
const both = this.isBoth();
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
"postinstall": "nuxt prepare",
|
"postinstall": "nuxt prepare",
|
||||||
"build:lib": "npm run build:check && npm run build:package",
|
"build:lib": "npm run build:check && npm run build:package",
|
||||||
"build:package": "NODE_ENV=production rollup -c && node build-meta && node api-generator/build-api && gulp build-styles",
|
"build:package": "NODE_ENV=production rollup -c && node build-meta && node api-generator/build-api && gulp build-styles",
|
||||||
"build:check": "npm run format:check && npm run security:check && npm run test:unit",
|
"build:check": "npm run format:check && npm run security:check",
|
||||||
"security:check": "npm audit --production --audit-level high",
|
"security:check": "npm audit --production --audit-level high",
|
||||||
"format": "prettier --write \"**/*.{js,vue,d.ts}\"",
|
"format": "prettier --write \"**/*.{js,vue,d.ts}\"",
|
||||||
"format:check": "prettier --check \"**/*.{js,vue,d.ts}\"",
|
"format:check": "prettier --check \"**/*.{js,vue,d.ts}\"",
|
||||||
|
|
Loading…
Reference in New Issue