mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-22 21:03:01 +09:00
Merge branch 'orderbutton-js-load' into develop
Conflicts: src/bb-modules/Orderbutton/html_client/mod_orderbutton_js.phtml
This commit is contained in:
commit
9fffa87a59
1 file changed
+16
-15
@@ -107,18 +107,19 @@ function popup(){
|
||||
$('#popup-iframe').show();
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof jQuery === "undefined") {
|
||||
(function(d, script) {
|
||||
script = d.createElement('script');
|
||||
script.type = 'text/javascript';
|
||||
script.async = true;
|
||||
script.onload = function(){
|
||||
show_popup();
|
||||
};
|
||||
script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js';
|
||||
d.getElementsByTagName('head')[0].appendChild(script);
|
||||
}(document));
|
||||
}else{
|
||||
show_popup();
|
||||
};
|
||||
$( document ).ready(function() {
|
||||
if (typeof jQuery === "undefined") {
|
||||
(function(d, script) {
|
||||
script = d.createElement('script');
|
||||
script.type = 'text/javascript';
|
||||
script.async = true;
|
||||
script.onload = function(){
|
||||
show_popup();
|
||||
};
|
||||
script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js';
|
||||
d.getElementsByTagName('head')[0].appendChild(script);
|
||||
}(document));
|
||||
}else{
|
||||
show_popup();
|
||||
};
|
||||
});
|
||||
Reference in new issue
Block a user