Skip to content

Commit

Permalink
track by image.url bug
Browse files Browse the repository at this point in the history
  • Loading branch information
thatisuday committed Apr 28, 2017
1 parent 0dfe573 commit b2e091c
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/ng-image-gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
// Thumbnails container
// Hide for inline gallery
'<div ng-if="thumbnails && !inline" class="ng-image-gallery-thumbnails">' +
'<div class="thumb" ng-repeat="image in images track by image.url" ng-click="methods.open($index);" show-image-async="{{image.thumbUrl || image.url}}" async-kind="thumb" ng-style="{\'width\' : thumbSize+\'px\', \'height\' : thumbSize+\'px\'}">'+
'<div class="thumb" ng-repeat="image in images track by image.id" ng-click="methods.open($index);" show-image-async="{{image.thumbUrl || image.url}}" async-kind="thumb" ng-style="{\'width\' : thumbSize+\'px\', \'height\' : thumbSize+\'px\'}">'+
'<div class="loader"></div>'+
'</div>' +
'</div>' +
Expand Down
Binary file modified dist/ng-image-gallery.min.css.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/ng-image-gallery.min.css.map

Large diffs are not rendered by default.

Binary file modified dist/ng-image-gallery.min.css.map.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/ng-image-gallery.min.js

Large diffs are not rendered by default.

Binary file modified dist/ng-image-gallery.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/ng-image-gallery.min.js.map

Large diffs are not rendered by default.

Binary file modified dist/ng-image-gallery.min.js.map.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-image-gallery",
"version": "v2.1.1",
"version": "v2.1.2",
"description": "Probably the best angular inline and modal image gallery combined...",
"main": "dist/ng-image-gallery.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/js/directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
// Thumbnails container
// Hide for inline gallery
'<div ng-if="thumbnails && !inline" class="ng-image-gallery-thumbnails">' +
'<div class="thumb" ng-repeat="image in images track by image.url" ng-click="methods.open($index);" show-image-async="{{image.thumbUrl || image.url}}" async-kind="thumb" ng-style="{\'width\' : thumbSize+\'px\', \'height\' : thumbSize+\'px\'}">'+
'<div class="thumb" ng-repeat="image in images track by image.id" ng-click="methods.open($index);" show-image-async="{{image.thumbUrl || image.url}}" async-kind="thumb" ng-style="{\'width\' : thumbSize+\'px\', \'height\' : thumbSize+\'px\'}">'+
'<div class="loader"></div>'+
'</div>' +
'</div>' +
Expand Down

0 comments on commit b2e091c

Please sign in to comment.