Tests fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
03b112c486
commit
719f9288b9
|
@ -21,8 +21,11 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
var noteHtml = document.getElementById('notemenu').outerHTML
|
var noteElmt = document.getElementById('notemenu')
|
||||||
|
if (noteElmt) {
|
||||||
|
var noteHtml = noteElmt.outerHTML
|
||||||
$(noteHtml).insertBefore('#header-primary-action');
|
$(noteHtml).insertBefore('#header-primary-action');
|
||||||
$('#notemenu').removeClass('hidden');
|
$('#notemenu').removeClass('hidden');
|
||||||
OC.registerMenu($('#notemenu .menutoggle'), $('#notemenu .menu'))
|
OC.registerMenu($('#notemenu .menutoggle'), $('#notemenu .menu'))
|
||||||
|
}
|
||||||
})
|
})
|
Loading…
Reference in New Issue