Skip to content

Commit

Permalink
Fix Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bi1101 committed Jul 22, 2024
1 parent f7e23ff commit 2b8e55e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions writify-gform-openai.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Writify
* Description: Score IELTS Essays x GPT
* Version: 1.2.7
* Version: 1.2.8
* Author: IELTS Science
* Copyright: © 2023-2026 RLT
*/
Expand Down Expand Up @@ -147,7 +147,7 @@ function writify_enqueue_scripts_footer()
// When a message is done, convert the buffer to HTML and display it
var html = md.render(buffer);
jQuery('.response-div-' + div_index).find('.preloader-icon').hide();
var current_div = jQuery('.response-div-' + div_index).find('.e-con-full');
var current_div = jQuery('.response-div-' + div_index).find('.e-con');
current_div.html(html); // Replace the current HTML content with the processed markdown

jQuery.when(current_div.html(html)).then(function () {
Expand Down Expand Up @@ -192,7 +192,7 @@ function writify_enqueue_scripts_footer()
// Convert the buffer to HTML and display it
var html = md.render(buffer);
jQuery('.response-div-' + div_index).find('.preloader-icon').hide();
var current_div = jQuery('.response-div-' + div_index).find('.elementor-shortcode');
var current_div = jQuery('.response-div-' + div_index).find('.e-con');
current_div.html(html); // Replace the current HTML content with the processed markdown
}
}
Expand Down

0 comments on commit 2b8e55e

Please sign in to comment.