remove erroneous '.' from disabled class check

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