Skip to content

Commit

Permalink
chore: TR-6156 respond to PR; minor fixes; version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholass committed Jun 27, 2024
1 parent bc35862 commit 936afb5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"typeIdentifier": "textReaderInteraction",
"label": "Text reader",
"description": "The Paging widget combines a scrolling widget with additional paging controls.",
"version": "0.9.1",
"version": "0.9.2",
"author": "Aleh Hutnikau",
"email": "[email protected]",
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ define(
*
* @param {String} html - the html to parse
* @param {Object} renderer
* @returns {String} the html without updated URLs
* @returns {String} the html with fixed anchor targets
*/
var fixAnchorTargets = function(html, renderer) {
html = html || '';
Expand All @@ -44,8 +44,8 @@ define(
});
};

return function (options) {
var self = this;
return function (options) {
var self = this;
var defaultOptions = {
state : 'sleep',
templates : {},
Expand Down Expand Up @@ -178,7 +178,6 @@ define(
$container,
$pages,
markup,
anchors,
fixedMarkup,
decorationHeight;

Expand All @@ -197,7 +196,7 @@ define(
);

fixedMarkup = fixAnchorTargets(
markup,
fixedMarkup,
self.options.interaction.renderer
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"typeIdentifier": "textReaderInteraction",
"label": "Text reader",
"description": "The Paging widget combines a scrolling widget with additional paging controls.",
"version": "1.2.1",
"version": "1.2.2",
"author": "Aleh Hutnikau",
"email": "[email protected]",
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ define(
var interaction;
var renderer;
var images;
var anchors;

this.options.$container.trigger('beforerenderpages.' + self.eventNs);

Expand Down

0 comments on commit 936afb5

Please sign in to comment.