diff --git a/src/public/app/widgets/shared_info.js b/src/public/app/widgets/shared_info.js
index d0aef4b20..6a830f8b6 100644
--- a/src/public/app/widgets/shared_info.js
+++ b/src/public/app/widgets/shared_info.js
@@ -13,7 +13,7 @@ const TPL = `
}
- . For help visit wiki.
+ . For help visit wiki.
`;
export default class SharedInfoWidget extends NoteContextAwareWidget {
@@ -23,8 +23,8 @@ export default class SharedInfoWidget extends NoteContextAwareWidget {
doRender() {
this.$widget = $(TPL);
- this.$shareLink = this.$widget.find(".share-link");
- this.$shareText = this.$widget.find(".share-text");
+ this.$sharedLink = this.$widget.find(".shared-link");
+ this.$sharedText = this.$widget.find(".shared-text");
this.contentSized();
}
@@ -36,14 +36,14 @@ export default class SharedInfoWidget extends NoteContextAwareWidget {
if (syncServerHost) {
link = syncServerHost + "/share/" + shareId;
- this.$shareText.text("This note is shared publicly on");
+ this.$sharedText.text("This note is shared publicly on");
}
else {
link = location.protocol + '//' + location.host + location.pathname + "share/" + shareId;
- this.$shareText.text("This note is shared locally on");
+ this.$sharedText.text("This note is shared locally on");
}
- this.$shareLink.attr("href", link).text(link);
+ this.$sharedLink.attr("href", link).text(link);
}
entitiesReloadedEvent({loadResults}) {