diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 770326430..48231245d 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -571,7 +571,7 @@ load pinpad dynamically only after you know that it will be needed */ var $content = $('
'); $('').text(Messages.selectTemplate).appendTo($content); $('

', {id:"selectTemplate"}).appendTo($content); - Cryptpad.alert($content.html(), null, true); + common.alert($content.html(), null, true); var $p = $('#selectTemplate'); temps.forEach(function (t, i) { $('', {href: t.href, title: t.title}).text(t.title).click(function (e) {