Skip to content

Commit

Permalink
Fix text variable not defined (#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
herrvigg committed Apr 6, 2021
1 parent 3dbd9a7 commit e944652
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion admin/js/core/qtranslatex.js
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ const qTranslateConfig = window.qTranslateConfig;
};

const updateTinyMCE = function (h) {
text = h.contentField.value;
let text = h.contentField.value;
if (h.wpautop && window.switchEditors) {
text = window.switchEditors.wpautop(text);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/options.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion qtranslate.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* Designed as interface for other plugin integration. The documentation is available at
* https://github.com/qtranslate/qtranslate-xt/wiki/Integration-Guide/
*/
define( 'QTX_VERSION', '3.10.0.dev.0' );
define( 'QTX_VERSION', '3.10.0.dev.1' );

if ( ! defined( 'QTRANSLATE_FILE' ) ) {
define( 'QTRANSLATE_FILE', __FILE__ );
Expand Down

0 comments on commit e944652

Please sign in to comment.