Skip to content
Permalink
Browse files

Add print placeholder for quickstart > continue

  • Loading branch information...
Macribo committed Apr 7, 2019
1 parent cbbfe84 commit e616f33a863e3c5b843793e4f03bef9469915059
Showing with 16 additions and 4 deletions.
  1. +16 −4 js/m3rlin.js
@@ -1,3 +1,11 @@
backToMain = () => {
$('#quick-confirm').css({ display: 'none' });

$('#greeter').fadeIn('slow');
$('.m3rlin-quickstart-btns').css({ display: 'none' });
$('.m3rlin-main-menu-btns').fadeIn('slow');
};

$(document).ready(function() {
// alert('hi from m3rlin.js');
// if ($slicerLayerHeight.val() > 100) {
@@ -21,10 +29,14 @@ $(document).ready(function() {
});

$('#m3rlin-back').click(function() {
$('#quick-confirm').css({ display: 'none' });
backToMain();
});

$('#greeter').fadeIn('slow');
$('.m3rlin-quickstart-btns').css({ display: 'none' });
$('.m3rlin-main-menu-btns').fadeIn('slow');
$('#m3rlin-continue').on('click', function() {
window.print();
alert('aaaannnndd... Print!');
setTimeout(function() {
backToMain();
}, 500);
});
});

0 comments on commit e616f33

Please sign in to comment.
You can’t perform that action at this time.