Skip to content

Commit

Permalink
Disabled keyboard shortcuts in prettyPhoto. Closes woocommerce#2770
Browse files Browse the repository at this point in the history
Not happy with this. The keyboard_shortcuts paramater doesn't seem to
work so had to disable in core which hits all instances of prettyPhoto.
Will revisit.
  • Loading branch information
jameskoster committed Mar 22, 2013
1 parent 1853d63 commit 0e639c4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/js/prettyPhoto/jquery.prettyPhoto.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
deeplinking: true, /* Allow prettyPhoto to update the url to enable deeplinking. */
overlay_gallery: true, /* If set to true, a gallery will overlay the fullscreen image on mouse over */
overlay_gallery_max: 30, /* Maximum number of pictures in the overlay gallery */
keyboard_shortcuts: true, /* Set to false if you open forms inside prettyPhoto */
keyboard_shortcuts: false, /* Set to false if you open forms inside prettyPhoto */
changepicturecallback: function(){}, /* Called everytime an item is shown/changed */
callback: function(){}, /* Called when prettyPhoto is closed */
ie6_fallback: true,
Expand Down
Loading

0 comments on commit 0e639c4

Please sign in to comment.