diff options
author | Russell Beattie <russ@russellbeattie.com> | 2012-10-22 14:49:22 -0700 |
---|---|---|
committer | Russell Beattie <russ@russellbeattie.com> | 2012-10-22 14:49:22 -0700 |
commit | b373425b694a3fd4d49716fe53e091b984ea1eab (patch) | |
tree | 6c934c05b7e110770d831b59942208473250050b /js/reveal.js | |
parent | 143fc85c657a4953d3f3b878b845cc60efbed748 (diff) | |
download | fosdem-2018-presentation-b373425b694a3fd4d49716fe53e091b984ea1eab.tar fosdem-2018-presentation-b373425b694a3fd4d49716fe53e091b984ea1eab.tar.gz |
Updated Controls to use CSS triangles rather than unicode triangles (fix Android support)
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/reveal.js b/js/reveal.js index 0ae2ad1..cb0205e 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -150,10 +150,10 @@ var Reveal = (function(){ if( !dom.wrapper.querySelector( '.controls' ) && config.controls ) { var controlsElement = document.createElement( 'aside' ); controlsElement.classList.add( 'controls' ); - controlsElement.innerHTML = '<a class="left" href="#">◄</a>' + - '<a class="right" href="#">►</a>' + - '<a class="up" href="#">▲</a>' + - '<a class="down" href="#">▼</a>'; + controlsElement.innerHTML = '<div class="left"></div>' + + '<div class="right"></div>' + + '<div class="up"></div>' + + '<div class="down"></div>'; dom.wrapper.appendChild( controlsElement ); } |