Browse files

Improve single file JS

  • Loading branch information...
1 parent 6397b89 commit d95270dc719ed557a5ce1360a64354b991196a0a Dzikri Aziz committed May 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 kc-settings-inc/scripts/upload-single.dev.js
View
2 kc-settings-inc/scripts/upload-single.dev.js
@@ -35,7 +35,7 @@ var win = window.dialogArguments || opener || parent || top;
$('#media-items').on('click', 'a.kc-select', function(e) {
e.preventDefault();
- win.kcFileSingle( $(e.currentTarget).data() );
+ win.kcFileSingle( $(this).data() );
win.tb_remove();
});

0 comments on commit d95270d

Please sign in to comment.