Javascript functions

This commit is contained in:
Diego Najar 2019-09-11 19:11:44 +02:00
parent a31f11d8c6
commit d84d0065d5

View File

@ -1,13 +1,4 @@
<script>
function copyToClipboard(elementId) {
var aux = document.createElement("input");
aux.setAttribute("value", document.getElementById(elementId).innerHTML);
document.body.appendChild(aux);
aux.select();
document.execCommand("copy");
document.body.removeChild(aux);
}
<?php defined('BLUDIT') or die('Bludit CMS.'); ?>
function sanitizeHTML(text) {
var map = {
@ -45,5 +36,3 @@ function getCookie(name) {
function deleteCookie(name) {
document.cookie = name+'=; Max-Age=-999;';
}
</script>