File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,9 @@ if ($loadingImage) {
18
18
$ loadingImage = $ this ->getViewFileUrl ('images/loader-1.gif ' );
19
19
}
20
20
?>
21
- <script>
21
+ <script type="text/javascript" >
22
22
require(['jquery', 'magepow/infinitescroll'], function ($) {
23
+ "use strict";
23
24
$(document).ready(function () {
24
25
$('body').addClass('infinitescroll');
25
26
var ias = $.ias({
@@ -33,7 +34,7 @@ if ($loadingImage) {
33
34
window.ias = $.ias();
34
35
window.ias.extension(new IASSpinnerExtension({
35
36
src: "<?php echo $ loadingImage ; ?> ",
36
- html: '<div class="iass-spinner"><img src="{src}"/><p ><?php echo $ loadingText ; ?> </p ></div>'
37
+ html: '<div class="iass-spinner"><img src="{src}"/><span ><?php echo $ loadingText ; ?> </span ></div>'
37
38
}));
38
39
39
40
window.ias.extension(new IASNoneLeftExtension({
You can’t perform that action at this time.
0 commit comments