Changes for page Footer Section

Last modified by Manuel Leduc on 2023/11/21

<
From version < 25.1 >
edited by Ecaterina Moraru (Valica)
on 2016/05/25
To version < 25.2 >
edited by Vincent Massol
on 2016/05/26
>
Change comment: Fix bug

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.evalica
1 +XWiki.VincentMassol
Content
... ... @@ -220,11 +220,11 @@
220 220  <!-- For Mouseflow -->
221 221  <script type="text/javascript">
222 222   var mouseflowPath = document.domain + document.location.pathname;
223 - if ($(window).width() <= 480) mouseflowPath += "/smartphone";
224 - else if ($(window).width() <= 840) mouseflowPath += "/tablet";
225 225   var mfq = mfq || [];
226 226   // Depend on the jQuery loaded by RequireJS so that we mouseflow does not load its own jQuery version, breaking require code that depends on a diferent jQuery version/instance.
227 227   require(["jquery"], function() {
226 + if (jQuery(window).width() <= 480) mouseflowPath += "/smartphone";
227 + else if (jQuery(window).width() <= 840) mouseflowPath += "/tablet";
228 228   var mf = document.createElement("script");
229 229   mf.type = "text/javascript"; mf.async = true;
230 230   mf.src = "//cdn.mouseflow.com/projects/72d20ebd-a6f8-48f6-b211-3cf36eadb0ee.js";
Cannot make recursive include