minor fixes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-02-06 19:28:18 +04:00
parent f630a3b16f
commit 335342ccfa

View File

@ -1212,8 +1212,7 @@ var MagazineTemplates = {
// setup titles...
'.magazine-title-text': function(elem){
elem.text($('.magazine').attr('title')
|| $('.magazine').attr('name')
elem.text(getMagazineTitle()
|| 'PortableMag')
},
@ -1247,8 +1246,7 @@ var MagazineTemplates = {
.append($('<a/>')
.attr('href', '#' + getPageNumber($('.magazine > .cover').first()))
// XXX is this the right way to go?
.text(mag.attr('title')
|| mag.attr('name')
.text(getMagazineTitle()
|| 'Magazine')))
root.append(list)
elem