Basic Information
When trying to upload a file, it fails. Console:
Uncaught TypeError: invalid assignment to const 'w' on Firefox.
Uncaught TypeError: Assignment to constant variable. on Chrome.
Changing all instances of w = and h = to var w = and var h = fixes the problem. (I changed myself to const w)
Steps to reproduce
- New topic => Attach a file (you don't need to input subject/topic)
- It fails.
Expected result
No response
Actual result
No response
Version/Git revision
2.1
Database Engine
All
Database Version
No response
PHP Version
No response
Logs
Additional Information
No response
Basic Information
When trying to upload a file, it fails. Console:
Uncaught TypeError: invalid assignment to const 'w' on Firefox.
Uncaught TypeError: Assignment to constant variable. on Chrome.
Changing all instances of
w =andh =tovar w =andvar h =fixes the problem. (I changed myself toconst w)Steps to reproduce
Expected result
No response
Actual result
No response
Version/Git revision
2.1
Database Engine
All
Database Version
No response
PHP Version
No response
Logs
Additional Information
No response