From 1ac0dcd86875c0fdb0d9b972aaf85007c0fa8028 Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Sun, 16 Sep 2018 04:09:48 +0900 Subject: [PATCH] bug fix next button deactivate @ last page. --- public/conductor/index.js | 2 +- public/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/conductor/index.js b/public/conductor/index.js index e272fa0..fdb2844 100644 --- a/public/conductor/index.js +++ b/public/conductor/index.js @@ -183,7 +183,7 @@ $(document).ready(function() { if (curscreen == 2) { anext._deactivate(); } - if (curscreen == 7) { + if (curscreen == nscreen) { anext._deactivate(); } } diff --git a/public/index.js b/public/index.js index 7291b69..80758cc 100644 --- a/public/index.js +++ b/public/index.js @@ -183,7 +183,7 @@ $(document).ready(function() { if (curscreen == 2) { anext._deactivate(); } - if (curscreen == 7) { + if (curscreen == nscreen) { anext._deactivate(); } }