diff --git a/app/assets/javascripts/main.js b/app/assets/javascripts/main.js index e48485471..b3e8bc3f5 100644 --- a/app/assets/javascripts/main.js +++ b/app/assets/javascripts/main.js @@ -1,7 +1,5 @@ window.GOVUK.Frontend.initAll(); -$(() => $("time.timeago").timeago()); - var showHideContent = new GOVUK.ShowHideContent(); showHideContent.init(); diff --git a/app/templates/views/api/index.html b/app/templates/views/api/index.html index 0bd3e2a94..cf295c0c0 100644 --- a/app/templates/views/api/index.html +++ b/app/templates/views/api/index.html @@ -57,7 +57,7 @@ {{notification.key_name}} - diff --git a/app/templates/views/find-users/user-information.html b/app/templates/views/find-users/user-information.html index 3a90b7bc6..4575f4748 100644 --- a/app/templates/views/find-users/user-information.html +++ b/app/templates/views/find-users/user-information.html @@ -60,7 +60,7 @@

This person has never logged in

{% else %}

Last logged in -

diff --git a/gulpfile.js b/gulpfile.js index b8ae218a7..a8557aeec 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -47,7 +47,6 @@ const javascripts = () => { paths.npm + 'hogan.js/dist/hogan-3.0.2.js', paths.npm + 'jquery/dist/jquery.min.js', paths.npm + 'query-command-supported/dist/queryCommandSupported.min.js', - paths.npm + 'timeago/jquery.timeago.js', paths.npm + 'textarea-caret/index.js', paths.npm + 'cbor-js/cbor.js', paths.npm + 'd3/dist/d3.min.js', diff --git a/package-lock.json b/package-lock.json index 868d97778..51a8f0d3d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,6 @@ "sass-embedded": "^1.87.0", "socket.io-client": "^4.8.1", "textarea-caret": "3.1.0", - "timeago": "1.6.7", "vinyl-buffer": "^1.0.1", "vinyl-source-stream": "^2.0.0" }, @@ -12797,14 +12796,6 @@ "node": ">=0.10.0" } }, - "node_modules/timeago": { - "version": "1.6.7", - "resolved": "https://registry.npmjs.org/timeago/-/timeago-1.6.7.tgz", - "integrity": "sha512-FikcjN98+ij0siKH4VO4dZ358PR3oDDq4Vdl1+sN9gWz1/+JXGr3uZbUShYH/hL7bMhcTpPbplJU5Tej4b4jbQ==", - "dependencies": { - "jquery": ">=1.5.0 <4.0" - } - }, "node_modules/tmpl": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", diff --git a/package.json b/package.json index 8c9eb3af6..73a18745d 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,6 @@ "sass-embedded": "^1.87.0", "socket.io-client": "^4.8.1", "textarea-caret": "3.1.0", - "timeago": "1.6.7", "vinyl-buffer": "^1.0.1", "vinyl-source-stream": "^2.0.0" },