append poke and private message template

This commit is contained in:
rabuzarus 2016-05-07 04:41:57 +02:00
parent a73ec108ad
commit da63ae343a
6 changed files with 215 additions and 6 deletions

View file

@ -22,10 +22,10 @@ function loadModalTitle() {
//$("#modal-title").empty();
// hide the first h3 child element of the modal body
$("#modal-body > h3").first().hide();
$("#modal-body .headding").first().hide();
// get the text of the first h3 child element
var title = $("#modal-body > h3").first().text();
// get the text of the first element with headding class
var title = $("#modal-body .headding").first().text();
// and append it to modal title
if (title!=="") {