Skip to content

Commit

Permalink
fix: Fix undefined $ error on promotions
Browse files Browse the repository at this point in the history
  • Loading branch information
tareq1988 committed Oct 30, 2018
1 parent 4edfd4b commit 2736b32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/promotions.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ public function show_promotions() {
</style>

<script type='text/javascript'>
jQuery(document).ready(function(){
jQuery('body').on('click', '.dokan-upgrade-promotional-notice span.prmotion-close-icon', function(e) {
jQuery(document).ready(function($){
$('body').on('click', '.dokan-upgrade-promotional-notice span.prmotion-close-icon', function(e) {
e.preventDefault();

var self = $(this),
Expand Down

0 comments on commit 2736b32

Please sign in to comment.