Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #1543 from koenpunt/fix-originial

fixed typo (originial => original), only test for originalEvent once.
  • Loading branch information...
commit ece04c45aa2a7835df75b7dd373091c842eff48d 2 parents 7b6fc0c + 674506e
Koen Punt authored September 13, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  coffee/chosen.jquery.coffee
2  coffee/chosen.jquery.coffee
@@ -135,7 +135,7 @@ class Chosen extends AbstractChosen
135 135
     this.results_reset(evt) if evt.target.nodeName is "ABBR" and not @is_disabled
136 136
 
137 137
   search_results_mousewheel: (evt) ->
138  
-    delta = -evt.originalEvent?.wheelDelta or evt.originialEvent?.detail
  138
+    delta = -evt.originalEvent.wheelDelta or evt.originalEvent.detail if evt.originalEvent
139 139
     if delta?
140 140
       evt.preventDefault()
141 141
       delta = delta * 40 if evt.type is 'DOMMouseScroll'

0 notes on commit ece04c4

Please sign in to comment.
Something went wrong with that request. Please try again.