Changeset 2385681
- Timestamp:
- 09/21/2020 02:06:47 PM (6 years ago)
- Location:
- mailcastr-bot
- Files:
-
- 1 deleted
- 1 edited
-
assets/banner-772x250.jpg (deleted)
-
trunk/mcbot.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mailcastr-bot/trunk/mcbot.php
r2378392 r2385681 19 19 $this->plugin->apiKey = ''; 20 20 $this->plugin->displayName = 'Mailcastr Bot'; 21 $this->plugin->cdnUrl = 'https://widgets.mailcastr.com/release/';22 21 23 22 add_action('wp_head', array(&$this, 'insertBotScript')); … … 40 39 var s=document.createElement('script'); 41 40 s.type='text/javascript'; 42 s.setAttribute('data-key', '{$api_key}); 43 s.async=true; 44 s.src='{$this->plugin->cdnUrl}bot/v1/mcbot.min.js'; 41 s.setAttribute('data-key', '{$api_key}'); 42 s.src='https://widgets.mailcastr.com/release/bot/v1/mcbot.min.js'; 45 43 h.appendChild(s); 46 44 </script>";
Note: See TracChangeset
for help on using the changeset viewer.