mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-22 06:28:46 -04:00
Doc blocks added, available templates may be set in the general configuration file
This commit is contained in:
parent
c7a4ced9e1
commit
a4b0a993c7
4 changed files with 46 additions and 11 deletions
|
@ -3940,6 +3940,14 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||
event.preventDefault();
|
||||
}
|
||||
|
||||
/**
|
||||
* save the template in a cookie and reloads the page
|
||||
*
|
||||
* @name TopNav.setTemplate
|
||||
* @private
|
||||
* @function
|
||||
* @param {Event} event
|
||||
*/
|
||||
function setTemplate(event)
|
||||
{
|
||||
let template = $(event.target).data('template') || event.target.value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue