From 33b1d18836780eb676b892ff7817add1d7c5f82b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Wed, 9 Mar 2016 14:54:46 +0800 Subject: [PATCH] Reset the candidate cycle when advancing levels --- botanjs/src/Astro/Blog/AstroEdit/SmartInput/_this.js | 1 + botanjs/src/Astro/Blog/AstroEdit/_this.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/botanjs/src/Astro/Blog/AstroEdit/SmartInput/_this.js b/botanjs/src/Astro/Blog/AstroEdit/SmartInput/_this.js index 15401ab..6b5eada 100644 --- a/botanjs/src/Astro/Blog/AstroEdit/SmartInput/_this.js +++ b/botanjs/src/Astro/Blog/AstroEdit/SmartInput/_this.js @@ -386,6 +386,7 @@ if( 1 < ModLevels.length ) { + CandidateCycle = -1; stage( Candidates ); title( true ); stage()[0].value = "`"; diff --git a/botanjs/src/Astro/Blog/AstroEdit/_this.js b/botanjs/src/Astro/Blog/AstroEdit/_this.js index 4442063..d59c4b1 100644 --- a/botanjs/src/Astro/Blog/AstroEdit/_this.js +++ b/botanjs/src/Astro/Blog/AstroEdit/_this.js @@ -16,7 +16,7 @@ /** @type {Astro.Blog.AstroEdit.Draft} */ var Draft = __import( "Astro.Blog.AstroEdit.Draft" ); /** @type {Astro.Blog.AstroEdit.Flag} */ - var Flag = __import( "Astro.Blog.AstroEdit.Flag" ); + var Flag = __import( "Astro.Blog.AstroEdit.Flag" ); /** @type {Astro.Blog.AstroEdit.Visualizer} */ var Visualizer = __import( "Astro.Blog.AstroEdit.Visualizer" ); /** @type {Astro.Blog.AstroEdit.Uploader} */