Spelling and minor variable name tweak
This commit is contained in:
		| @@ -161,7 +161,7 @@ class IgniteTemplate { | |||||||
|                     } |                     } | ||||||
|                 }; |                 }; | ||||||
|  |  | ||||||
|                 //Store the wrapped functino so that it's the old value next time around |                 //Store the wrapped function so that it's the old value next time around | ||||||
|                 //and the old event can be removed in the future |                 //and the old event can be removed in the future | ||||||
|                 func._value = wrapped; |                 func._value = wrapped; | ||||||
|  |  | ||||||
| @@ -170,10 +170,10 @@ class IgniteTemplate { | |||||||
|             })); |             })); | ||||||
|  |  | ||||||
|             //Create the initial wrapper |             //Create the initial wrapper | ||||||
|             var old = func._value; |             var target = func._value; | ||||||
|             var wrapped = (e) => { |             var wrapped = (e) => { | ||||||
|                 if (e.key === 'Enter') { |                 if (e.key === 'Enter') { | ||||||
|                     old(e); |                     target(e); | ||||||
|                 } |                 } | ||||||
|             }; |             }; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user