benbarnett / jquery-animate-enhanced

Extend $.animate() to detect CSS transitions for Webkit, Mozilla, IE>=10 and Opera and convert animations automatically.
http://playground.benbarnett.net/jquery-animate-enhanced/
MIT License
1.39k stars 196 forks source link

Access element tag name appropriately #147

Closed chriskuehl closed 10 years ago

chriskuehl commented 10 years ago

This fixes #146, which was introduced in be269e1.

elem is already the DOM element so we don't need to fetch "context" first.

benbarnett commented 10 years ago

Thanks a lot! :)