| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | let __tagembedLoaderImageCustomPath = "https://cdn.tagembed.com/libraries/loader/images/loader.gif"; |
| 2 | -if (typeof __tagembed__plugin_url_for_js != "undefined") { | |
| 3 | - __tagembedLoaderImageCustomPath = __tagembed__plugin_url_for_js + 'assets/images/loader.gif'; | |
| 2 | +if (typeof TAGEMBED_PLUGIN_URL_JS != "undefined") { | |
| 3 | + __tagembedLoaderImageCustomPath = TAGEMBED_PLUGIN_URL_JS + 'assets/images/loader.gif'; | |
| 4 | 4 | } |
| 5 | 5 | function __tagembed__open_loader(text = '', loaderImage = '') { |
| 6 | 6 | text = (text) ? text : 'Please Wait...'; |
| 7 | 7 | loaderImage = (loaderImage) ? loaderImage : __tagembedLoaderImageCustomPath; |