X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=simpleWebSlides.js;h=ce50c94b8b150b3171ce1d1761893066d7b05d7c;hb=564cbcc2c27a723d2bdf12cf690a66eb7f36b813;hp=c63bf25f53c1cb0a94706a46f2f96e5d8d020200;hpb=a03a60eccb6d035b1ccc7c9dc53c7b03abd48dc6;p=hacks%2FsimpleWebSlides.git diff --git a/simpleWebSlides.js b/simpleWebSlides.js index c63bf25..ce50c94 100644 --- a/simpleWebSlides.js +++ b/simpleWebSlides.js @@ -60,6 +60,7 @@ SWS.Templates = new function () { self.helpPanel = "
\

Keyboard shortcuts

\ \ +\ \ \ \ @@ -67,7 +68,6 @@ SWS.Templates = new function () { \ \ \ -\
h toggle help
c toggle the control panel
Left, PgUp,swipe left previous step
Right, PgDown, Space, swipe right next step
n next slide
Home first slide
End last slide
h toggle help
\
"; self.controlPanel = "
\ @@ -513,6 +513,7 @@ SWS.Presentation = new function () { $("#sws-percent-progress").text(100); progress.remove(); window.status = 'Ready'; + window.print(); } }; loop(); @@ -588,7 +589,6 @@ SWS.Presentation = new function () { default: return; }; - switch (code) { case 36:/* Home */ self.setCurrentSlide(self.firstSlide());