forked from I2P_Developers/i2p.i2p
Add tags for librejs compatibility on application/console pages and in embedded javascript
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
/* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */
|
||||
|
||||
function initDelete()
|
||||
{
|
||||
var main = document.getElementById("mainsection");
|
||||
@ -21,3 +23,5 @@ function initDelete()
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
initDelete();
|
||||
}, true);
|
||||
|
||||
/* @license-end */
|
||||
|
@ -1,3 +1,5 @@
|
||||
/* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */
|
||||
|
||||
const setupbuttons=()=>{
|
||||
let sp = document.forms[0].savepri;
|
||||
if ( sp ) updatesetallbuttons(), sp.disabled = true, sp.className = 'disabled';
|
||||
@ -115,3 +117,5 @@ function addClickHandler(elem)
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
setupbuttons();
|
||||
}, true);
|
||||
|
||||
/* @license-end */
|
||||
|
@ -1,3 +1,9 @@
|
||||
/* @license http://creativecommons.org/publicdomain/zero/1.0/legalcode CC0-1.0 */
|
||||
|
||||
// This component is dedicated to the public domain. It uses the CC0
|
||||
// as a formal dedication to the public domain and in circumstances where
|
||||
// a public domain is not usable.
|
||||
|
||||
function requestAjax1() {
|
||||
var url = ".ajax/xhr1.html";
|
||||
var query = window.location.search;
|
||||
@ -13,3 +19,5 @@ function initAjax() {
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
initAjax();
|
||||
}, true);
|
||||
|
||||
/* #license-end */
|
||||
|
Reference in New Issue
Block a user