da2a11adf9
This reverts commit 0494a36681
.
11 lines
No EOL
375 B
Text
Executable file
11 lines
No EOL
375 B
Text
Executable file
<public:component lightweight="true">
|
|
<public:attach event="ondocumentready" onevent="unselectable()"/>
|
|
<script type="text/javascript">
|
|
function unselectable() {
|
|
element.onselectstart = function () {
|
|
return false;
|
|
};
|
|
element.setAttribute('unselectable', 'on', 0);
|
|
}
|
|
</script>
|
|
</public:component> |