diff --git a/zerobin/static/js/behavior.js b/zerobin/static/js/behavior.js index 35406bb..517349d 100644 --- a/zerobin/static/js/behavior.js +++ b/zerobin/static/js/behavior.js @@ -548,8 +548,7 @@ if (content && key) { /* Synchronize expiration select boxes value */ $('.paste-option select').live('change', function(){ - var $this = $(this); - $this.val($this.val()); + $('.paste-option select').val($(this).val()); });