mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
Updates
This commit is contained in:
parent
59bae7f542
commit
c3aa754cf6
1 changed files with 5 additions and 2 deletions
|
@ -41,8 +41,11 @@ function addTemplateFromArray(itemsArray) {
|
||||||
priority = 6;
|
priority = 6;
|
||||||
}
|
}
|
||||||
var selector = '#topMenuUserNotifications ul .list-group .priority' + priority;
|
var selector = '#topMenuUserNotifications ul .list-group .priority' + priority;
|
||||||
console.log('addTemplateFromArray prepend', selector);
|
try {
|
||||||
$(selector).prepend(template);
|
$(selector).prepend(template);
|
||||||
|
} catch (e) {
|
||||||
|
console.log('addTemplateFromArray prepend error', selector, e);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue