Mercurial > hg > webaudioevaluationtool
diff js/core.js @ 3020:664065577426
Hide the back button #232
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Tue, 12 Sep 2017 15:28:22 +0100 |
parents | 5acdaf4c14c3 |
children | c93687862a79 |
line wrap: on
line diff
--- a/js/core.js Tue Sep 12 14:36:51 2017 +0100 +++ b/js/core.js Tue Sep 12 15:28:22 2017 +0100 @@ -1099,7 +1099,7 @@ } else { this.buttonProceed.textContent = 'Next'; } - if (this.currentIndex > 0) + if (this.currentIndex > 0 && this.node.showBackButton) this.buttonPrevious.style.visibility = 'visible'; else this.buttonPrevious.style.visibility = 'hidden';