Skip to content

Commit 8ca815a

Browse files
committed
Merge branch 'master' into next
2 parents cd25fff + fca2318 commit 8ca815a

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
@@ -1242,7 +1242,8 @@ window.starView = countlyView.extend({
12421242
$('#overlay').fadeIn();
12431243
$('#widgets-array').html($(this).data('id'));
12441244
$('.feedback-copy-code').attr("data-clipboard-text", "Countly.q.push(['enable_feedback',{'widgets':['" + $(this).data('id') + "']}]);");
1245-
$('#feedback-' + countlyGlobal.apps[store.get('countly_active_app')].type + '-integration').css({
1245+
var type = countlyGlobal.apps[store.get('countly_active_app')].type === 'web' ? 'web' : 'mobile';
1246+
$('#feedback-' + type + '-integration').css({
12461247
"display": "block"
12471248
});
12481249
var id = $(this).data('id');

0 commit comments

Comments
 (0)