Skip to content
Snippets Groups Projects
Commit 608bf9b5 authored by Friederike Schwager's avatar Friederike Schwager Committed by Friederike Schwager
Browse files

github#14 bugfix trailing spaces in language strings were not displayed

parent c99f9131
Branches
Tags
No related merge requests found
......@@ -6509,7 +6509,7 @@ function startIndex(Y,_cm,_documentObject,_userid,_capabilities, _toolbarSetting
let container = document.querySelector('.comment-list-container');
let title = $('#comment-wrapper > h4')[0];
if(pattern === '') {
title.innerHTML = M.util.get_string('questionstitle','pdfannotator') + pageNumber;
title.innerHTML = M.util.get_string('questionstitle','pdfannotator') + ' ' + pageNumber;
} else {
title.innerHTML = M.util.get_string('searchresults','pdfannotator');
}
......@@ -6614,7 +6614,7 @@ function startIndex(Y,_cm,_documentObject,_userid,_capabilities, _toolbarSetting
_PDFJSAnnotate2.default.getStoreAdapter().getQuestions(documentId).then(function(questions){
let container = document.querySelector('.comment-list-container');
let title = $('#comment-wrapper > h4')[0];
title.innerHTML = M.util.get_string('allquestionstitle','pdfannotator') + questions.pdfannotatorname;
title.innerHTML = M.util.get_string('allquestionstitle','pdfannotator') + ' ' + questions.pdfannotatorname;
container.innerHTML = '';
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment