diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-01-25 19:15:16 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-27 12:25:52 +0100 |
commit | d07d66e24ba1baf8b1f1c00ddd05fa2e64e8f54e (patch) | |
tree | 1dab002a486fd73aa8491b9f9f7b7e4ed2c23959 /core/js/public | |
parent | 0655df09d6cfcec1084680a6ef9082422a1ca578 (diff) | |
download | nextcloud-server-d07d66e24ba1baf8b1f1c00ddd05fa2e64e8f54e.tar.gz nextcloud-server-d07d66e24ba1baf8b1f1c00ddd05fa2e64e8f54e.zip |
Add public template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/js/public')
-rw-r--r-- | core/js/public/publicpage.js | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/core/js/public/publicpage.js b/core/js/public/publicpage.js new file mode 100644 index 00000000000..31b862ba12a --- /dev/null +++ b/core/js/public/publicpage.js @@ -0,0 +1,29 @@ +/* + * @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net> + * + * @author Julius Härtl <jus@bitgrid.net> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +$(document).ready(function () { + + console.log('public'); + $('#body-public .header-right .menutoggle').click(function() { + $(this).next('.popovermenu').toggleClass('open'); + }); +}); |