Skip to content

Commit

Permalink
Fixed incorrect clearInterval usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed May 13, 2014
1 parent d973681 commit 6db706a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/floatpanel/plugin.js
Expand Up @@ -238,7 +238,7 @@ CKEDITOR.plugins.add( 'floatpanel', {
// We don't need to return focus here because touchend will fire anyway.
// If user scrolls and pointer gets out of the panel area touchend will also fire.
focused.on( 'touchstart', function() {
clearInterval( this._.hideTimeout );
clearTimeout( this._.hideTimeout );
}, this );

// Set focus back to handle blur and hide panel when needed.
Expand Down

0 comments on commit 6db706a

Please sign in to comment.