The append method is not working?

There is a website ocstore, it has a paid template UltraStore, I want to change the design of owl-dots, owl-dots wrapped in an additional div does not work in this div insert span element, the code you write in the admin area where you can insert your code.
Website: link
Here is the code:
$(document).ready(function(){
 var owlDots = $('.owl-dots');
 owlDots.addClass('fltr page-list');
 //$('.owl-dot').before('<span class="from-move"></span>');

 var owlDotsContainer = $('<div class="owl-dots__container"></div>');
owlDots.wrap(owlDotsContainer);
 owlDotsContainer.append('<span class="from-move"></span>');
})
April 7th 20 at 11:55
1 answer
April 7th 20 at 11:57
Solved the problem differently, but still interesting to know why in this case don't load the append()method

Find more questions by tags jQueryocStoreOwl Carousel