diff --git a/tools/proofers/preview.js b/tools/proofers/preview.js index 8b54b16404..292e30fc96 100644 --- a/tools/proofers/preview.js +++ b/tools/proofers/preview.js @@ -630,6 +630,7 @@ var makePreview = function (txt, viewMode, styler) { function boldLine() { // false if any non-bold char found var result1; + re1.lastIndex = 0; // else will be left from previous use while (true) { result1 = re1.exec(headLine); if (null === result1) { diff --git a/tools/proofers/proof_frame_enh.inc b/tools/proofers/proof_frame_enh.inc index 309ce2f344..b72c72b662 100644 --- a/tools/proofers/proof_frame_enh.inc +++ b/tools/proofers/proof_frame_enh.inc @@ -15,7 +15,7 @@ function echo_proof_frame_enh( $ppage ) $header_args = array( "css_files" => array("$code_url/styles/preview.css?a=16111501"), "js_files" => array( - "preview.js?17010501", + "preview.js?17011101", "previewControl.js?16111501", "preview_strings.php", diff --git a/tools/proofers/text_frame_std.inc b/tools/proofers/text_frame_std.inc index b0be672d71..0991448fd6 100644 --- a/tools/proofers/text_frame_std.inc +++ b/tools/proofers/text_frame_std.inc @@ -11,7 +11,7 @@ function echo_text_frame_std( $ppage ) $header_args = array( "css_files" => array("$code_url/styles/preview.css?a=16111501"), "js_files" => array( - "preview.js?17010501", + "preview.js?17011101", "previewControl.js?16111501", "preview_strings.php", ),