Merge branch 'master' of gitlab.com:lilcity/backend into feature/childs-11-06-19

remotes/origin/feature/childs-11-06-19
gzbender 7 years ago
commit 26888f35b9
  1. 7
      web/src/js/utils.js

@ -9,13 +9,6 @@ export const rupluralize = (value, args, addValue = true) => {
export const loadScript = (url, onload) => {
return new Promise(resolve => {
for (let script of document.getElementsByTagName('script')) {
if (script.src == url) {
onload && onload();
resolve();
return;
}
}
const script = document.createElement('script');
script.async = true;
document.body.appendChild(script);

Loading…
Cancel
Save