minor tweak to 'start' button at end of install wizard

v1.18.x
Julian Lam 12 years ago
parent 65b6010d74
commit 069cf5c6cb

@ -27,7 +27,7 @@
<hr /> <hr />
<div class="pull-right"> <div class="pull-right">
<a href="/" class="btn btn-success btn-large"><i class="icon-thumbs-up"></i> Start using NodeBB!</a> <button id="start-nodebb" class="btn btn-success btn-large"><i class="icon-thumbs-up"></i> Start using NodeBB!</button>
</div> </div>
<div> <div>
<button data-path="social" class="btn btn-primary btn-large">Previous &ndash; <i class="icon-facebook"></i> Social</button> <button data-path="social" class="btn btn-primary btn-large">Previous &ndash; <i class="icon-facebook"></i> Social</button>
@ -36,5 +36,11 @@
<script> <script>
(function() { (function() {
nodebb_setup.prepare(); nodebb_setup.prepare();
var startEl = document.getElementById('start-nodebb');
startEl.addEventListener('click', function(e) {
e.preventDefault();
document.location.href = '/';
});
})(); })();
</script> </script>
Loading…
Cancel
Save