[issue#] N_SE-52636
[problem] violet text selection is displayed because of app suspending
[solve] The corresponding event handling is not necessary for this app, so disabled it.
Change-Id: I49b4611dc6752bc0448c9175d46ce3ca67fc7f2a
* {
- margin:0;padding:0
+ margin:0;padding:0;
+ -webkit-user-select: none;
}
h1 {
<h1>Offline clock and image</h1>
<p><strong>WHILE OFFLINE PLEASE RELOAD THIS PAGE</strong></p>
<p><output id="clock"></output></p>
- <img src="images/tizen.png" alt="" />
+ <img id="tizenimg" src="images/tizen.png" alt="" />
</body>
</html>
setInterval(function () {\r
document.getElementById('clock').value = new Date();\r
}, 1000);\r
+\r
+window.onload = function() {\r
+ var tizenimg = document.getElementById('tizenimg');\r
+ tizenimg.addEventListener('contextmenu', function(e) {e.preventDefault()}, false)\r
+}
\ No newline at end of file