Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
fix for previous partialy working changes to the collage js
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Miller authored and Adam Miller committed May 10, 2011
1 parent 17792f0 commit 0c81dc7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions static/css/base.css
Expand Up @@ -1500,3 +1500,7 @@ line-height: 2.0em;
.features .paper-strip .inner {
padding-left: 102px;
}

.js-templates {
display: none;
}
6 changes: 3 additions & 3 deletions static/js/collage.js
Expand Up @@ -469,9 +469,9 @@ things.BackgroundSelector = function(bgData) {
}

function init() {
buttonEl = $('#js-background-change-buttom').children().clone().appendTo('#header');
selectEl = $('#js-background-selector' ).children().clone().insertAfter(buttonEl).hide();

buttonEl = $( '#js-background-change-button' ).children().clone().appendTo( '#header' );
selectEl = $( '#js-background-selector' ).children().clone().insertAfter(buttonEl).hide();
console.log(buttonEl, selectEl);
var listEl = selectEl.find('.slide-wrapper ul');
for(var i = 0; i < backgroundData.length; i++) {
$('<li><img width="102" height="116" src="'+THUMBNAIL_PATH+backgroundData[i]['thumbnail']+'" /></li>').appendTo(listEl)
Expand Down

0 comments on commit 0c81dc7

Please sign in to comment.