title="Sat, 16 Sep 2023 07:03:00 UTC">2 anos atrás supports-preserve-symlinks-flag 30f7226d9a first commit 2 anos atrás tailwind-color-palette 30f7226d9a first commit 2 anos atrás tailwindcss 30f7226d9a first commit 2 anos atrás thenify 30f7226d9a first commit 2 anos atrás thenify-all 30f7226d9a first commit 2 anos atrás to-regex-range 30f7226d9a first commit 2 anos atrás tr46 30f7226d9a first commit 2 anos atrás ts-interface-checker 30f7226d9a first commit 2 anos atrás uglify-js 30f7226d9a first commit 2 anos atrás underscore 30f7226d9a first commit 2 anos atrás upper-case 30f7226d9a first commit 2 anos atrás util-deprecate 30f7226d9a first commit 2 anos atrás valid-data-url 30f7226d9a first commit 2 anos atrás web-resource-inliner 30f7226d9a first commit 2 anos atrás webidl-conversions 30f7226d9a first commit 2 anos atrás whatwg-url 30f7226d9a first commit 2 anos atrás wrap-ansi 30f7226d9a first commit 2 anos atrás wrappy 30f7226d9a first commit 2 anos atrás y18n 30f7226d9a first commit 2 anos atrás yallist 30f7226d9a first commit 2 anos atrás yaml 30f7226d9a first commit 2 anos atrás yargs 30f7226d9a first commit 2 anos atrás yargs-parser 30f7226d9a first commit 2 anos atrás .yarn-integrity 30f7226d9a first commit 2 anos atrás tum/shaqfindbeds - Gogs: Simplico Git Service

Brak opisu

cancel.js 884B

123456789101112131415161718192021222324252627282930
  1. 'use strict';
  2. {
  3. // Call function fn when the DOM is loaded and ready. If it is already
  4. // loaded, call the function now.
  5. // http://youmightnotneedjquery.com/#ready
  6. function ready(fn) {
  7. if (document.readyState !== 'loading') {
  8. fn();
  9. } else {
  10. document.addEventListener('DOMContentLoaded', fn);
  11. }
  12. }
  13. ready(function() {
  14. function handleClick(event) {
  15. event.preventDefault();
  16. const params = new URLSearchParams(window.location.search);
  17. if (params.has('_popup')) {
  18. window.close(); // Close the popup.
  19. } else {
  20. window.history.back(); // Otherwise, go back.
  21. }
  22. }
  23. document.querySelectorAll('.cancel-link').forEach(function(el) {
  24. el.addEventListener('click', handleClick);
  25. });
  26. });
  27. }