Skip to content

Commit

Permalink
fixed references to thumbnail images
Browse files Browse the repository at this point in the history
  • Loading branch information
docluv committed Jan 8, 2015
1 parent ae0c2d8 commit c944ee4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
Binary file not shown.
Binary file modified Modern Movie Web/Web/Web Site/bin/Web Site.dll
Binary file not shown.
8 changes: 6 additions & 2 deletions Modern Movie Web/Web/Web Site/js/debug/ui/movie.app.grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,22 @@
if (i === 0 && curWidth >= oriBreakPoint) {

moviePoster.src = moviePoster.src
.replace("tmb", "ori")
.replace("pro", "ori")
.replace("det", "ori");

} else if (curWidth >= detBreakPoint) {

moviePoster.src = moviePoster.src
.replace("tmb", "det")
.replace("pro", "det")
.replace("ori", "det");

} else {
moviePoster.src = moviePoster.src.replace("ori", "pro")
.replace("det", "pro");
moviePoster.src = moviePoster.src
.replace("tmb", "pro")
.replace("ori", "pro")
.replace("det", "pro");
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,3 @@

}(window));



;
Original file line number Diff line number Diff line change
Expand Up @@ -481,12 +481,14 @@
if (width > largebreakpoint) {

poster.src = poster.src
.replace("tmb", "ori")
.replace("pro", "ori")
.replace("det", "ori");

} else {

poster.src = poster.src
.replace("tmb", "det")
.replace("pro", "det")
.replace("ori", "det");

Expand Down

0 comments on commit c944ee4

Please sign in to comment.