Browse Source

Ajout d'un mot clé permettant de supprimer tous les liens

master
Erase 3 years ago
parent
commit
fa64e1fb43
2 changed files with 5 additions and 1 deletions
  1. +1
    -1
      dist/js/script.js
  2. +4
    -0
      src/js/app.js

+ 1
- 1
dist/js/script.js
File diff suppressed because it is too large
View File


+ 4
- 0
src/js/app.js View File

@ -189,6 +189,10 @@ $(function() {
Cmdr.searchHelp.style.height = Math.ceil(Cmdr.commands.length / 2) + 'rem';
Cmdr.searchText.value = '';
}else if( q === '!raz'){
$.jStorage.set('links', []);
loadLinks();
alertify.success('Les liens épinglés ont été supprimés.');
} else {
Cmdr.location = Cmdr.default + encodeURIComponent(q);
q = q.split(':');


Loading…
Cancel
Save