Skip to content

Commit

Permalink
set isLoading to false when only updating canvasIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
edsilv committed Apr 20, 2015
1 parent 6008721 commit 0c88382
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/extensions/uv-seadragon-extension/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ export class Extension extends baseExtension.BaseExtension {
this.setParam(baseProvider.params.canvasIndex, canvasIndex);
});

this.isLoading = false;
return;
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/modules/uv-searchfooterpanel-module/footerPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,12 +319,12 @@ export class FooterPanel extends footer.FooterPanel {

var mode = that.extension.getMode();

if (mode == extension.Extension.PAGE_MODE) {
if (mode === extension.Extension.PAGE_MODE) {
var canvas = that.provider.getCanvasByIndex(canvasIndex);

var label = canvas.label;

if (label == "") {
if (label === "") {
label = "-";
}

Expand Down

0 comments on commit 0c88382

Please sign in to comment.