Javascript error
This commit is contained in:
parent
4a1cf5dfba
commit
80b092f865
|
@ -58,6 +58,8 @@ The manual installation involves downloading the plugin and uploading it to your
|
|||
* Variation formatting uses item_meta when showing order items
|
||||
* Javascript fixes in admin + correct enqueuing of scripts
|
||||
* Added en_GB po file
|
||||
* Used dbDelta for installation of tables for better table upgrades/installs
|
||||
* Fix for reviews form when fancybox is turned off
|
||||
|
||||
= 1.0 =
|
||||
* Initial Release. Woo!
|
||||
|
|
|
@ -100,14 +100,16 @@
|
|||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
jQuery(function(){
|
||||
jQuery('#review_form_wrapper').hide();
|
||||
jQuery('a.show_review_form').fancybox({
|
||||
'transitionIn' : 'elastic',
|
||||
'transitionOut' : 'elastic',
|
||||
'speedIn' : 600,
|
||||
'speedOut' : 200,
|
||||
'overlayShow' : true
|
||||
});
|
||||
if($().fancybox) {
|
||||
jQuery('#review_form_wrapper').hide();
|
||||
jQuery('a.show_review_form').fancybox({
|
||||
'transitionIn' : 'elastic',
|
||||
'transitionOut' : 'elastic',
|
||||
'speedIn' : 600,
|
||||
'speedOut' : 200,
|
||||
'overlayShow' : true
|
||||
});
|
||||
}
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue