Permalink
Browse files

Pull #13

  • Loading branch information...
1 parent 39619b3 commit 06a7258527f844e2779b7f93536b56fa5a90a2b7 @screeley screeley committed Jan 24, 2013
Showing with 7 additions and 7 deletions.
  1. +1 −1 jquery.preview.full.js
  2. +2 −2 jquery.preview.full.min.js
  3. +1 −1 jquery.preview.js
  4. +2 −2 jquery.preview.min.js
  5. +1 −1 src/display.js
View
@@ -1961,7 +1961,7 @@ function Display(display){
},
bind : function(){
- $('.thumbnail.video a, .thumbnail.rich a').live('click', function(e){
+ $('.thumbnail.video a, .thumbnail.rich a').on('click', function(e){
e.preventDefault();
var preview = $(this).parents('.item').data('preview');
$(this).parents('.item').replaceWith(preview.html);

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -704,7 +704,7 @@ function Display(display){
},
bind : function(){
- $('.thumbnail.video a, .thumbnail.rich a').live('click', function(e){
+ $('.thumbnail.video a, .thumbnail.rich a').on('click', function(e){
e.preventDefault();
var preview = $(this).parents('.item').data('preview');
$(this).parents('.item').replaceWith(preview.html);
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -157,7 +157,7 @@ function Display(display){
},
bind : function(){
- $('.thumbnail.video a, .thumbnail.rich a').live('click', function(e){
+ $('.thumbnail.video a, .thumbnail.rich a').on('click', function(e){
e.preventDefault();
var preview = $(this).parents('.item').data('preview');
$(this).parents('.item').replaceWith(preview.html);

0 comments on commit 06a7258

Please sign in to comment.