@inappstory/slide-api 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4200,8 +4200,8 @@ class WidgetRate extends WidgetBase {
|
|
|
4200
4200
|
// 1-3 stars (default)
|
|
4201
4201
|
if (value + 1 >= this.showDialogueMin && value + 1 <= this.showDialogueMax) {
|
|
4202
4202
|
this.selectedStar = value;
|
|
4203
|
-
this._selectStar(this.selectedStar, false);
|
|
4204
4203
|
if (this.showDialogOnLowRate) {
|
|
4204
|
+
this._selectStar(this.selectedStar, false);
|
|
4205
4205
|
if (this.sdkApi.isAndroid) {
|
|
4206
4206
|
this.slide.classList.add("blured");
|
|
4207
4207
|
}
|
|
@@ -4233,6 +4233,7 @@ class WidgetRate extends WidgetBase {
|
|
|
4233
4233
|
}
|
|
4234
4234
|
}
|
|
4235
4235
|
else {
|
|
4236
|
+
this._selectStar(this.selectedStar, true);
|
|
4236
4237
|
this.completeWidget();
|
|
4237
4238
|
this._statEventRateUsAnswer("");
|
|
4238
4239
|
}
|
|
@@ -4246,7 +4247,7 @@ class WidgetRate extends WidgetBase {
|
|
|
4246
4247
|
else if (this.sdkApi.isIOS) {
|
|
4247
4248
|
target = getTagData(this.element, "appleLink");
|
|
4248
4249
|
}
|
|
4249
|
-
this._selectStar(value,
|
|
4250
|
+
this._selectStar(value, true);
|
|
4250
4251
|
this.completeWidget();
|
|
4251
4252
|
this._statEventRateUsAnswer("");
|
|
4252
4253
|
if (this.submitToStores && target) {
|
|
@@ -4254,7 +4255,7 @@ class WidgetRate extends WidgetBase {
|
|
|
4254
4255
|
}
|
|
4255
4256
|
}
|
|
4256
4257
|
else {
|
|
4257
|
-
this._selectStar(value,
|
|
4258
|
+
this._selectStar(value, true);
|
|
4258
4259
|
this.completeWidget();
|
|
4259
4260
|
this._statEventRateUsAnswer("");
|
|
4260
4261
|
}
|