From d91a5a512c416f3565baeff3f666a7fc74eec6bb Mon Sep 17 00:00:00 2001 From: sam Date: Wed, 16 May 2012 20:17:29 +0200 Subject: [PATCH] Fix regression on expiration dropdown sync --- zerobin/static/js/behavior.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()); });