sydcanem / bootstrap-contextmenu

Context menu plugin for Twitter's Bootstrap framework
http://sydcanem.com/bootstrap-contextmenu/
644 stars 193 forks source link

remove erroneous '.' from disabled class check #61

Closed davebenvenuti closed 10 years ago

davebenvenuti commented 10 years ago

The jQuery hasClass method accepts just the class name without a period. This patch allows you to disable a context menu with either the disabled class or disabled element attribute, as originally intended