Skip to content

Commit

Permalink
Fix error when open grid with opened preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazar65 committed Nov 12, 2019
1 parent f070206 commit c23393d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ define([
show: function (record) {
var img;

if (record._rowIndex === this.lastOpenedImage()
if (record._rowIndex === this.visibleRecord()
&& this.isVisible(record)) {
this.hide();
return;
Expand Down

0 comments on commit c23393d

Please sign in to comment.