mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 02:11:38 -04:00
Adds performance improvements for volunteer_benefits closing #46
* Major changes, will test more, but appears to be working very well.
This commit is contained in:
+6
-6
@@ -57,8 +57,9 @@ if($_GET['new_user_id']>0){
|
||||
"plugins" : obj.configurations.plugins
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
// does this work?
|
||||
$("#shop_log_iframe").contents().find("#sign_in_button").on("click keypress", function(e){
|
||||
|
||||
@@ -78,7 +79,6 @@ if($_GET['new_user_id']>0){
|
||||
|
||||
if ( $("#epframeshop_log_pad").length ) {
|
||||
|
||||
|
||||
var body_margin = $("#shop_log_iframe").contents().find("body").css("margin");
|
||||
body_margin = body_margin.replace("px","");
|
||||
body_margin = body_margin * 4;
|
||||
@@ -87,11 +87,11 @@ if($_GET['new_user_id']>0){
|
||||
|
||||
$("#shop_log_iframe").css({"height": shop_log_height});
|
||||
|
||||
$("#shop_log_iframe").contents().find("#shop_log_link").attr("href","/shop_log_iframe.php");
|
||||
$("#shop_log_iframe").contents().find("#shop_log_link").attr("href","/shop_log_iframe.php");
|
||||
|
||||
// does this work?
|
||||
// does this work? - the first time it is completely loaded
|
||||
$("#shop_log_iframe").contents().find("#sign_in_button").on("click keypress", function(e){
|
||||
|
||||
|
||||
var body_margin = $("#shop_log_iframe").contents().find("body").css("margin");
|
||||
body_margin = body_margin.replace("px","");
|
||||
body_margin = body_margin * 4;
|
||||
|
||||
Reference in New Issue
Block a user