mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-31 20:10:13 +00:00
minor fixes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
f630a3b16f
commit
335342ccfa
@ -1212,8 +1212,7 @@ var MagazineTemplates = {
|
|||||||
|
|
||||||
// setup titles...
|
// setup titles...
|
||||||
'.magazine-title-text': function(elem){
|
'.magazine-title-text': function(elem){
|
||||||
elem.text($('.magazine').attr('title')
|
elem.text(getMagazineTitle()
|
||||||
|| $('.magazine').attr('name')
|
|
||||||
|| 'PortableMag')
|
|| 'PortableMag')
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -1247,8 +1246,7 @@ var MagazineTemplates = {
|
|||||||
.append($('<a/>')
|
.append($('<a/>')
|
||||||
.attr('href', '#' + getPageNumber($('.magazine > .cover').first()))
|
.attr('href', '#' + getPageNumber($('.magazine > .cover').first()))
|
||||||
// XXX is this the right way to go?
|
// XXX is this the right way to go?
|
||||||
.text(mag.attr('title')
|
.text(getMagazineTitle()
|
||||||
|| mag.attr('name')
|
|
||||||
|| 'Magazine')))
|
|| 'Magazine')))
|
||||||
root.append(list)
|
root.append(list)
|
||||||
elem
|
elem
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user