mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
10 lines
202 B
JavaScript
10 lines
202 B
JavaScript
|
import $ from 'jquery';
|
||
|
|
||
|
// History
|
||
|
$(document).on('click', '[data-clear-history-toggle]', (event) => {
|
||
|
event.preventDefault();
|
||
|
|
||
|
window.sessionStorage.clear();
|
||
|
window.location.reload();
|
||
|
});
|