Skip to content

Commit fca2318

Browse files
authored
Merge pull request #1629 from frknbasaran/feedback-desktop-fix
[feedback-desktop-fix] desktop type show instructions popup bug fixed.
2 parents 945f456 + 95438b8 commit fca2318

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/star-rating/frontend/public/javascripts/countly.views.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,8 @@ window.starView = countlyView.extend({
12271227
$('#overlay').fadeIn();
12281228
$('#widgets-array').html($(this).data('id'));
12291229
$('.feedback-copy-code').attr("data-clipboard-text", "Countly.q.push(['enable_feedback',{'widgets':['" + $(this).data('id') + "']}]);");
1230-
$('#feedback-' + countlyGlobal.apps[store.get('countly_active_app')].type + '-integration').css({
1230+
var type = countlyGlobal.apps[store.get('countly_active_app')].type === 'web' ? 'web' : 'mobile';
1231+
$('#feedback-' + type + '-integration').css({
12311232
"display": "block"
12321233
});
12331234
var id = $(this).data('id');

0 commit comments

Comments
 (0)