Skip to content
Browse files

Master plist is always Replica.plist

  • Loading branch information...
1 parent ac6010a commit 9b55b247a1887e5c22e86e2f1dbbf7af7f1e21f4 @nicwolff committed
Showing with 2 additions and 3 deletions.
  1. +2 −3 linker.html
View
5 linker.html
@@ -85,7 +85,6 @@
var reqURL, masterPlist;
var pageOffset = 0;
if ( ! masterPlist ) masterPlist = 'Replica.plist';
- if ( masterPlist == 'Replica.plist' ) pageOffset = 1;
if ( ! reqURL ) reqURL = window.location;
// EVENTS
@@ -336,7 +335,7 @@
function update_image () {
localStorage.setItem( reqURL + '.page_filename', filename );
- var imageDir = masterPlist == 'Replica.plist' ? 'pages/' : 'JPEGS/';
+ var imageDir = 'JPEGS/';
$('#background').prop( 'src', encodeURI(imageDir + filename) ).width(768);
setTimeout( function () {
@@ -508,7 +507,7 @@
// OPEN INITIAL PAGE
$.ajax( {
- url: masterPlist || 'Replica.plist'
+ url: 'Replica.plist'
} ).success( function (xml) {
$(xml).find('array').find('string').each( function (index, page) {
pages.push( page.textContent );

0 comments on commit 9b55b24

Please sign in to comment.
Something went wrong with that request. Please try again.