New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flipswitch destroy throws exception #8071

Closed
ramihaly opened this Issue Apr 14, 2015 · 1 comment

Comments

Projects
None yet
3 participants
@ramihaly

Calling method destroy (https://api.jquerymobile.com/flipswitch/#method-destroy) on a flipswitch control throws an exception:

Object doesn't support property or method 'removeClass'
http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.js line 9408: this.removeClass( "ui-flipswitch-input" );

@arschmitz

This comment has been minimized.

Show comment
Hide comment
@arschmitz

arschmitz Apr 14, 2015

Member

Thank you for reporting this it is indeed a bug that line should be this.element.removeClass( ... );

Member

arschmitz commented Apr 14, 2015

Thank you for reporting this it is indeed a bug that line should be this.element.removeClass( ... );

@arschmitz arschmitz added this to the 1.5.0 milestone Apr 14, 2015

kapilgarg1996 added a commit to kapilgarg1996/jquery-mobile that referenced this issue Apr 14, 2015

@arschmitz arschmitz self-assigned this Jun 29, 2015

@apsdehal apsdehal closed this May 8, 2016

@apsdehal apsdehal self-assigned this Aug 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment