cmd/present: fix slides movement when -play=false

Fix by removing jQuery usage from slides.js as jquery.js is only
available when play.js is included.

Fixes golang/go#9878

Change-Id: I5793350105b138d7b7645f11d814e1d2f573a73e
Reviewed-on: https://go-review.googlesource.com/20288
Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
Konstantin Shaposhnikov 2016-03-07 22:29:25 +08:00 committed by Andrew Gerrand
parent 7a73fe1b6c
commit 1074774aec
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ if (objCtr.defineProperty) {
/* Slide movement */
function hideHelpText() {
$('#help').hide();
document.getElementById('help').style.display = 'none';
};
function getSlideEl(no) {