Skip to content
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

.size() vs .lenght #104

Closed
r4cdv opened this issue Sep 16, 2017 · 6 comments
Closed

.size() vs .lenght #104

r4cdv opened this issue Sep 16, 2017 · 6 comments

Comments

@r4cdv
Copy link

r4cdv commented Sep 16, 2017

It is necessary to replace ".size()" with ".lenght"
file redactor.js
Otherwise, an error occurs

line 6913
if ($current.closest(element).lenght > 0)

line 1463
if ($(e.target).closest('.redactor-editor, .redactor-toolbar, .redactor-dropdown').lenght !== 0)

@ta4
Copy link

ta4 commented Sep 17, 2017

same error

@angoliar
Copy link

angoliar commented Oct 4, 2017

+1

1 similar comment
@AlexNyskil
Copy link

+1

@SereiaMaster
Copy link

Change all size() for lenght in redactor.js.

Change Asset.php

public $js = [ 'redactor.min.js' ];

for

public $js = [ 'redactor.js' ];

Clean aplication assets... F5.. and works.

@magsarjav
Copy link

Tnx, also redactor.js should be minified again because its much larger than redactor.min.js

@onmotion
Copy link
Contributor

#106 fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants