Skip to content

Commit

Permalink
fixed iframe & spinner asset path.
Browse files Browse the repository at this point in the history
  • Loading branch information
samanpwbb committed Dec 22, 2012
1 parent 798da1a commit e6cf1c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/id/oauth.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ iD.OAuth = function() {
modal modal
.select('.content') .select('.content')
.append('iframe') .append('iframe')
.attr({ width: 640, height: 550, frameborder: 'no' }) .attr({ width: "100%", height: 550, frameborder: 'no' })
.attr('src', baseurl + '/oauth/authorize?' + ohauth.qsString({ .attr('src', baseurl + '/oauth/authorize?' + ohauth.qsString({
oauth_token: resp.oauth_token, oauth_token: resp.oauth_token,
oauth_callback: location.href.replace('index.html', '') oauth_callback: location.href.replace('index.html', '')
Expand Down
2 changes: 1 addition & 1 deletion js/id/ui/loading.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ iD.loading = function(message) {
var loadertext = modal.select('.content') var loadertext = modal.select('.content')
.classed('loading-modal', true) .classed('loading-modal', true)
.append('div').classed('modal-section',true); .append('div').classed('modal-section',true);
loadertext.append('img').attr('class','loader').attr('src', '../img/loader.gif'); loadertext.append('img').attr('class','loader').attr('src', '/img/loader.gif');
loadertext.append('h3').text(message || ''); loadertext.append('h3').text(message || '');


return modal; return modal;
Expand Down

0 comments on commit e6cf1c8

Please sign in to comment.