mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Fixed #5010 - Tooltip: missing nonce for inline styles
This commit is contained in:
parent
1c659292e3
commit
48fe190625
1 changed files with 2 additions and 2 deletions
|
@ -122,8 +122,8 @@ const BaseDirective = {
|
||||||
beforeMount: (el, binding, vnode, prevVnode) => {
|
beforeMount: (el, binding, vnode, prevVnode) => {
|
||||||
const config = BaseDirective._getConfig(binding, vnode);
|
const config = BaseDirective._getConfig(binding, vnode);
|
||||||
|
|
||||||
BaseStyle.loadStyle(undefined, { nonce: config?.csp?.nonce });
|
BaseStyle.loadStyle({ nonce: config?.csp?.nonce });
|
||||||
!el.$instance?.isUnstyled() && el.$instance?.$style?.loadStyle(undefined, { nonce: config?.csp?.nonce });
|
!el.$instance?.isUnstyled() && el.$instance?.$style?.loadStyle({ nonce: config?.csp?.nonce });
|
||||||
handleHook('beforeMount', el, binding, vnode, prevVnode);
|
handleHook('beforeMount', el, binding, vnode, prevVnode);
|
||||||
},
|
},
|
||||||
mounted: (el, binding, vnode, prevVnode) => {
|
mounted: (el, binding, vnode, prevVnode) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue