diff --git a/src/js/crowdin-web-widget.js b/src/js/crowdin-web-widget.js deleted file mode 100644 index 4b9aa4d..0000000 --- a/src/js/crowdin-web-widget.js +++ /dev/null @@ -1,22 +0,0 @@ -const loadScript = require('./load-script'); - -loadScript('https://crowdin.com/js/crowdjet/crowdjet.js', function() { - // crowdin web widget: https://crowdin.com/project/lizardbyte/tools/web-widget - // get body - let body = document.getElementsByTagName('body')[0] - - // create container (popup) - let container = document.createElement('div') - container.id = 'crowdjet-container' - container.dataset.projectId = '606145' - container.style.bottom = '90px' - container.style.left = '5px' - body.appendChild(container) - - // create expand container (button) - let expandContainer = document.createElement('div') - expandContainer.id = 'crowdjet-expand-container' - expandContainer.style.bottom = '0px' - expandContainer.style.left = '120px' - body.appendChild(expandContainer) -}); diff --git a/webpack.config.js b/webpack.config.js index f44f336..a64acc5 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -7,7 +7,6 @@ let production = process.env.NODE_ENV === 'production'; let config = { entry: { 'crowdin': './src/js/crowdin', - 'crowdin-web-widget': './src/js/crowdin-web-widget', 'discord': './src/js/discord', 'format-number': './src/js/format-number', 'levenshtein-distance': './src/js/levenshtein-distance',