Skip to content

Commit

Permalink
Merge branch 'mark-lester-siteURL'
Browse files Browse the repository at this point in the history
  • Loading branch information
abyrd committed Jan 30, 2015
2 parents 574eb72 + 3f0a172 commit 2b92ba7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/client/js/otp/core/Webapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ otp.core.Webapp = otp.Class({
// set the logo & title

if(otp.config.showLogo) {
//$('<div id="logo"><a href="'+otp.config.siteURL+'"><img src="'+otp.config.logoGraphic+'" style="height:100%"></a></div>').appendTo('#branding');
$(Mustache.render(otp.templates.img, {
//$('<div id="logo"><a href="'+otp.config.siteUrl+'"><img src="'+otp.config.logoGraphic+'" style="height:100%"></a></div>').appendTo('#branding');
$(Mustache.render(otp.templates.img, {
src : otp.config.logoGraphic,
style : 'height:100%',
wrapLink : true,
linkHref : otp.config.siteURL,
linkHref : otp.config.siteUrl,
wrapDiv : true,
divId : 'logo'
})).appendTo('#branding');
Expand All @@ -116,7 +116,7 @@ otp.core.Webapp = otp.Class({
if(otp.config.siteName !== undefined) {
document.title = otp.config.siteName;
if(otp.config.showTitle) {
$("<div id='site-title'><a href='"+otp.config.siteURL+"'>"+otp.config.siteName+"</a></div>").appendTo('#branding');
$("<div id='site-title'><a href='"+otp.config.siteUrl+"'>"+otp.config.siteName+"</a></div>").appendTo('#branding');
}
}

Expand Down Expand Up @@ -147,7 +147,7 @@ otp.core.Webapp = otp.Class({

if(otp.config.showAddThis) {
var addThisHtml = '<div id="addthis" class="addthis_toolbox addthis_default_style"\n';
addThisHtml += 'addthis:url="'+otp.config.siteURL+'"\n';
addThisHtml += 'addthis:url="'+otp.config.siteUrl+'"\n';
addThisHtml += 'addthis:title="'+otp.config.addThisTitle+'"\n';
addThisHtml += 'addthis:description="'+otp.config.siteDescription+'">\n';
addThisHtml += '<a class="addthis_button_twitter"></a>\n';
Expand Down
2 changes: 1 addition & 1 deletion src/client/js/otp/modules/planner/PlannerModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ otp.modules.planner.PlannerModule =
window.location.hash = this.currentHash;

/*var shareRoute = $("#share-route");
shareRoute.find(".addthis_toolbox").attr("addthis:url", otp.config.siteURL+"/#"+this.currentHash);
shareRoute.find(".addthis_toolbox").attr("addthis:url", otp.config.siteUrl+"/#"+this.currentHash);
addthis.toolbox(".addthis_toolbox_route");*/
},

Expand Down

0 comments on commit 2b92ba7

Please sign in to comment.