Bladeren bron

Force usage of latest JS

Vijayakrishnan Krishnan 4 jaren geleden
bovenliggende
commit
04546ec6c3
2 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 1 1
      public/js/mc.js
  2. 2 2
      resources/views/layouts/template.blade.php

+ 1 - 1
public/js/mc.js

@@ -190,7 +190,7 @@ function onFastLoaded(_data, _href, _history) {
     var content = $(_data).find('.stag-content');
     if (content && content.length) {
         content = content.html();
-        content += '<script src="/js/yemi.js?_=3"></script>';
+        content += '<script src="/js/yemi.js?_=4"></script>';
         targetParent.html(content);
         window.setTimeout(function() {
             initPrimaryForm();

+ 2 - 2
resources/views/layouts/template.blade.php

@@ -24,7 +24,7 @@
     <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
     <script src="{{ asset('fullcalendar/main.min.js') }}" type="application/javascript"></script>
     <script src="{{ asset('js/toastr.min.js') }}" type="application/javascript"></script>
-    <script src="/js/yemi.js?_=3" type="application/javascript"></script>
+    <script src="/js/yemi.js?_=4" type="application/javascript"></script>
 
     @yield('head')
 </head>
@@ -82,7 +82,7 @@
     </main><!-- /.container -->
 
     <!-- script to handle history & back/forward for mc/xxx pages -->
-    <script src="/js/mc.js?_=3" type="application/javascript"></script>
+    <script src="/js/mc.js?_=4" type="application/javascript"></script>
 
 </body>