| @@ -13,10 +13,8 @@ | ||
| 13 | 13 | |
| 14 | 14 | $deactivate_url_js = !empty($displayData['url']) ? $displayData['url'] : '#'; |
| 15 | 15 | $is_pro = isset($displayData['pro']) ? $displayData['pro'] : false; |
| 16 | 16 | |
| 17 | -$is_pro = false; | |
| 18 | - | |
| 19 | 17 | $plain_deactivation_url = JUri::getInstance(); |
| 20 | 18 | $plain_deactivation_url->setVar('feedback', 0); |
| 21 | 19 | |
| 22 | 20 | $doc_url = 'https://vikwp.com/support/documentation/vik-booking/'; |
| @@ -237,9 +235,9 @@ | ||
| 237 | 235 | |
| 238 | 236 | </div> |
| 239 | 237 | |
| 240 | 238 | <script> |
| 241 | - jQuery(document).ready(function() { | |
| 239 | + jQuery(function() { | |
| 242 | 240 | |
| 243 | 241 | jQuery('#vikbooking-feedback-form .form-field input[name="feedback_type"]').on('change', function() { |
| 244 | 242 | var radio = jQuery('#vikbooking-feedback-form input[name="feedback_type"]:checked'); |
| 245 | 243 | |