Disable img context menu...
parent
818aba94a0
commit
dac9386e73
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "emoji-mart-lazyload",
|
"name": "emoji-mart-lazyload",
|
||||||
"version": "3.0.1i",
|
"version": "3.0.1j",
|
||||||
"description": "Customizable Slack-like emoji picker for React",
|
"description": "Customizable Slack-like emoji picker for React",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"module": "dist-es/index.js",
|
"module": "dist-es/index.js",
|
||||||
|
|
|
@ -223,6 +223,7 @@ const NimbleEmoji = (props) => {
|
||||||
className="lazy"
|
className="lazy"
|
||||||
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP89B8AAukB8/71MdcAAAAASUVORK5CYII="
|
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP89B8AAukB8/71MdcAAAAASUVORK5CYII="
|
||||||
data-src={imageUrl}
|
data-src={imageUrl}
|
||||||
|
onContextMenu={(e) => e.preventDefault()}
|
||||||
/>
|
/>
|
||||||
:
|
:
|
||||||
<span style={style}>{children}</span>
|
<span style={style}>{children}</span>
|
||||||
|
|
Loading…
Reference in New Issue