Diff: STRATO-apps/wordpress_03/app/wp-content/plugins/tutor-pro/addons/tutor-wpml/assets/js/duplicate.js
Keine Baseline-Datei – Diff nur gegen leer.
1
-
1
+
(()=>{var t={};/************************************************************************/// The module cache
2
+
var e={};// The require function
3
+
function o(r){// Check if module is in cache
4
+
var i=e[r];if(i!==undefined){return i.exports}// Create a new module (and put it into the cache)
5
+
var n=e[r]={exports:{}};// Execute the module function
6
+
t[r](n,n.exports,o);// Return the exports of the module
7
+
return n.exports}/************************************************************************/// webpack/runtime/rspack_version
8
+
(()=>{o.rv=()=>"1.5.7"})();// webpack/runtime/rspack_unique_id
9
+
(()=>{o.ruid="bundler=rspack@1.5.7"})();/************************************************************************/window.tutor_ajax_counter=0;window.jQuery(document).ajaxStart(function(){window.tutor_ajax_counter++});window.jQuery(document).ajaxStop(function(){window.tutor_ajax_counter--});window.jQuery(document).ready(function(t){var e=function o(){setTimeout(function(){if(window.tutor_ajax_counter>0){e();return}var o=t("#tutor-course-topics");if(!o.find('[name="tutor_wpml_copy_source"]').length){o.append('<input type="hidden" name="tutor_wpml_copy_source" value="1"/>')}if(t("#save-post").length){t("#save-post").trigger("click")}else if(t("#publish").length){t("#publish").trigger("click")}else if(t(".editor-post-save-draft").length){t(".editor-post-save-draft").trigger("click");wp.data.subscribe(function(){var t=function e(){setTimeout(function(){var e=wp.data.select("core/editor").isSavingPost();if(e){t();return}window.location.reload()},1e3)};var e=wp.data.select("core/editor").isSavingPost();var o=wp.data.select("core/editor").isAutosavingPost();if(e&&!o){t()}})}},1e3)};var o=t("#icl_div #icl_cfo").get(0);if(o){o.addEventListener("click",function(){e()})}})})();