diff --git a/bower.json b/bower.json index 2deeb301e..be5bdf00e 100644 --- a/bower.json +++ b/bower.json @@ -37,7 +37,6 @@ "file-saver": "^1.3.1", "diff-dom": "^2.1.1", "alertifyjs": "^1.0.11", - "spin.js": "^2.3.2", "scrypt-async": "^1.2.0", "bootstrap": "#v4.0.0-alpha.6" } diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 8f67a542b..1f2941f34 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -4,12 +4,11 @@ define([ '/common/fsStore.js', '/bower_components/chainpad-crypto/crypto.js?v=0.1.5', '/bower_components/alertifyjs/dist/js/alertify.js', - '/bower_components/spin.js/spin.min.js', '/common/clipboard.js', '/customize/application_config.js', '/bower_components/jquery/dist/jquery.min.js', -], function (Config, Messages, Store, Crypto, Alertify, Spinner, Clipboard, AppConfig) { +], function (Config, Messages, Store, Crypto, Alertify, Clipboard, AppConfig) { /* This file exposes functionality which is specific to Cryptpad, but not to any particular pad type. This includes functions for committing metadata about pads to your local storage for future use and improved usability. @@ -891,11 +890,11 @@ define([ } $container = $loading.find('.loadingContainer'); } else { - var $loading = $('
').text(loadingText || Messages.loading); $container.append($spinner).append($text); $loading.append($container); @@ -1535,37 +1534,12 @@ define([ * spinner */ common.spinner = function (parent) { - var $target = $('