Subversion Repositories cheapmusic

Rev

Rev 143 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 143 Rev 158
Line 46... Line 46...
46
    function loadDepend() {
46
    function loadDepend() {
47
        if (typeof Popper == 'undefined') {
47
        if (typeof Popper == 'undefined') {
48
            window.setTimeout(function() { loadDepend(); }, 100);
48
            window.setTimeout(function() { loadDepend(); }, 100);
49
        } else {
49
        } else {
50
            element = document.createElement("script");
50
            element = document.createElement("script");
51
            element.src = "https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js";
51
            element.src = "https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js";
52
            element.async = true;
52
            element.async = true;
53
            element.type = "text/javascript";
53
            element.type = "text/javascript";
54
            element.setAttribute("crossorigin", "anonymous");
54
            element.setAttribute("crossorigin", "anonymous");
55
            element.setAttribute("integrity", "sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6");
55
            element.setAttribute("integrity", "sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI");
56
            document.body.appendChild(element);
56
            document.body.appendChild(element);
57
        }
57
        }
58
    }
58
    }
59
 
59
 
60
    loadDepend();
60
    loadDepend();