[website] website: preload hover images for tabs
Theodore Dubois
tblodt at icloud.com
Fri Dec 18 12:27:00 CST 2015
Fixes bug #18344.
Signed-off-by: Theodore Dubois <tblodt at icloud.com>
---
utils.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/utils.js b/utils.js
index 1d20f17..b2fc8c4 100644
--- a/utils.js
+++ b/utils.js
@@ -16,6 +16,10 @@ $(document).ready(function()
$("#tabs li").pngfix(); /* top tabs li backgrounds */
});
}
+
+ // preload tab hover image
+ var tab_h_image = new Image();
+ tab_h_image.src = "/images/tab_h.png";
});
// done
--
2.1.1
More information about the wine-patches
mailing list