mirror of
https://github.com/friendica/friendica
synced 2024-12-25 14:40:16 +00:00
23 lines
385 B
PHP
23 lines
385 B
PHP
<?php
|
|
|
|
/*
|
|
* Name: Test Bubble
|
|
* Version: 1.1
|
|
* Author: Anne Walk
|
|
* Author: Devlon Duthied
|
|
* Maintainer: Mike Macgirvin <mike@macgirvin.com>
|
|
*/
|
|
|
|
|
|
function testbubble_init(&$a) {
|
|
set_template_engine($a, 'smarty3');
|
|
|
|
$a->page['htmlhead'] .= <<< EOT
|
|
<script>
|
|
$(document).ready(function() {
|
|
|
|
$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
|
|
});
|
|
</script>
|
|
EOT;
|
|
}
|