windhamdavid 4 years ago
parent
commit
93d8b57a87
2 changed files with 3 additions and 3 deletions
  1. 1 1
      front-page.php
  2. 2 2
      inc/tweaks.php

+ 1 - 1
front-page.php

@@ -129,7 +129,7 @@
 
 </div> 
 <script type='text/javascript' src='<?php echo get_template_directory_uri();?>/js/front.min.js'></script>
-<script type='text/javascript' src='<?php echo get_template_directory_uri();?>/js/messenger.min.js'></script>
+<script type='text/javascript' src='<?php echo get_template_directory_uri();?>/js/message.js'></script>
 <?php dw_online_get_status(); ?>
 <?php wp_footer(); ?>
 <script type="application/ld+json">{"@context": "http://schema.org","@type": "WebSite","url":"https://davidawindham.com/","potentialAction":{"@type":"SearchAction","target":"https://davidawindham.com/?s={search_term_string}","query-input": "required name=search_term_string"}}

+ 2 - 2
inc/tweaks.php

@@ -107,10 +107,10 @@ function dw_online_get_status() {
 							  action: function(opts) {
 								  msg.hide();
 									i = 0
-									if (++i < 6) {
+									if (++i < 2) {
 										return opts.error({status: 500,readyState: 0,responseText: 0});
 									} 
-									else if (++i < 21) { 
+									else if (++i < 3) { 
 										// Connect with Cackbone and Twilio via webrtc app at code.davidawindham.com
 										return opts.success();
 									}