sydcanem / bootstrap-contextmenu

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

remove erroneous '.' from disabled class check #61

Closed davebenvenuti closed 9 years ago

davebenvenuti commented 9 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