Skip to content

$.plax.disable() with non-default activity target  #59

@lsei

Description

@lsei

The disable function seems to use the window as the mouse movement listener. I have changed this to:

disable: function(opts){
      plaxActivityTarget.unbind('mousemove.plax');
      ...

This seems to work with my setup using the following options.

$.plax.enable(
    { "activityTarget" : $('.phonecontainer') }
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions