This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 9dae227  fix copy/paste error to match the correct form
9dae227 is described below

commit 9dae2270c8a97fab9c7823712d0f0982b306a495
Author: Sam Ruby <[email protected]>
AuthorDate: Wed Dec 13 11:22:48 2017 -0500

    fix copy/paste error to match the correct form
---
 www/board/agenda/views/buttons/vote.js.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/board/agenda/views/buttons/vote.js.rb 
b/www/board/agenda/views/buttons/vote.js.rb
index 702a6fe..444d5aa 100644
--- a/www/board/agenda/views/buttons/vote.js.rb
+++ b/www/board/agenda/views/buttons/vote.js.rb
@@ -51,12 +51,12 @@ class Vote < Vue
 
   def mounted()
     # update form to match current item
-    jQuery('#comment-form').on 'show.bs.modal' do
+    jQuery('#vote-form').on 'show.bs.modal' do
       self.setup(@@item)
     end
 
     # autofocus on comment text
-    jQuery('#comment-form').on 'shown.bs.modal' do
+    jQuery('#vote-form').on 'shown.bs.modal' do
       document.getElementById("vote-text").focus()
     end
   end

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to