diff --git a/server/files/javascript/docs.js b/server/files/javascript/docs.js index 1c3d1b761e..e2933ed2e8 100644 --- a/server/files/javascript/docs.js +++ b/server/files/javascript/docs.js @@ -57,7 +57,6 @@ semantic.ready = function() { $pageTabs = $('.masthead.tab.segment .tabs.menu .item'), $languageDropdown = $('.language.dropdown'), - $chineseModal = $('.chinese.modal'), $languageModal = $('.language.modal'), $downloadPopup = $('.download.button'), @@ -297,15 +296,7 @@ semantic.ready = function() { ; // dont trigger on translate event every page load if(languageDropdownUsed) { - if(languageCode == 'zh' && window.location.host.replace('www.','') !== 'semantic-ui.cn') { - $chineseModal - .modal({ - closable: false - }) - .modal('show') - ; - } - else if(percent < 100) { + if(percent < 100) { languageDropdownUsed = false; $languageModal .modal() diff --git a/server/partials/language-modal.html b/server/partials/language-modal.html index 5b2297df90..e06515431c 100644 --- a/server/partials/language-modal.html +++ b/server/partials/language-modal.html @@ -23,24 +23,3 @@ - - \ No newline at end of file