Skip to content

Commit dfcb032

Browse files
Update Cookies-index.php.new
Minor bugfixes
1 parent 29d69d0 commit dfcb032

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

update-0-0-1-alpha-2-0-0-1-beta-1/Cookies-index.php.new

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<p id="Cookies" style="text-align:right;">By using this site, you agree to <button class="btn btn-default" id="ShowPolicy">our cookie policy</button>&nbsp;<button class="btn btn-danger" id="Exit">&times;</button>&nbsp;&nbsp;</p>
33
</div>
44
<script>
5+
jQuery(document).ready(function()
6+
{
57
var loc = window.location.host;
68
var button = document.getElementById('Exit');
79
var button1 = document.getElementById('ShowPolicy');
@@ -20,7 +22,7 @@
2022
{
2123
div.style.display = 'none';
2224
div.parentNode.innerHTML += '<div id="OverlayNotice" class="modal fade"><div class="modal-content"><div class="modal-body"><p><?php echo COOKIENOTICE; ?></p><button type="button" class="btn btn-danger" data-dismiss="modal">X</button></div></div></div>';
23-
document.getElementById('OverlayNotice').modal('show');
25+
jQuery('#OverlayNotice').modal('show');
2426
};
2527

2628
button.onclick = function()
@@ -35,4 +37,5 @@
3537
div.style.display = 'block';
3638
}
3739
};
38-
</script>
40+
});
41+
</script>

0 commit comments

Comments
 (0)