Skip to content

Commit 531b996

Browse files
committed
v2.21.5
1 parent a3b6a90 commit 531b996

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angularjs-table",
3-
"version": "2.21.4",
3+
"version": "2.21.5",
44
"main": [
55
"./dist/ap-mesa.js",
66
"./dist/ap-mesa.css"

dist/ap-mesa.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ angular.module('apMesa.controllers.ApMesaController', [
769769
// otherwise add it to the running total
770770
runningTotalScroll += rowsHeight;
771771
// the pixels that this row's expanded panel displaces
772-
var expandedPixels = scope.transientState.expandedRowHeights[expandedOffset];
772+
var expandedPixels = scope.transientState.expandedRowHeights[expandedOffset] || 0;
773773
runningTotalScroll += expandedPixels;
774774
rowOffset = expandedOffset;
775775
// Check if the expanded panel put us over the edge
@@ -778,7 +778,7 @@ angular.module('apMesa.controllers.ApMesaController', [
778778
break;
779779
}
780780
}
781-
scope.transientState.rowOffset = Math.max(0, rowOffset);
781+
scope.transientState.rowOffset = Math.max(0, rowOffset || 0);
782782
scrollDeferred.resolve();
783783
scrollDeferred = null;
784784
scope.options.scrollingPromise = null;

dist/ap-mesa.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angularjs-table",
3-
"version": "2.21.4",
3+
"version": "2.21.5",
44
"license": "Apache License, v2.0",
55
"dependencies": {
66
"angular": "^1.6",

0 commit comments

Comments
 (0)