|
|
|
@ -151,6 +151,14 @@
|
|
|
|
|
// Learn about plugins: https://revealjs.com/plugins/
|
|
|
|
|
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
function handleClick(e) {
|
|
|
|
|
e.preventDefault();
|
|
|
|
|
if(e.button === 0) Reveal.next();
|
|
|
|
|
if(e.button === 2) Reveal.prev();
|
|
|
|
|
}
|
|
|
|
|
window.addEventListener("mousedown", handleClick, false);
|
|
|
|
|
window.addEventListener("contextmenu", function(e) { e.preventDefault(); }, false);
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|