mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-22 01:34:29 +00:00
Merge pull request #458 from SethFalco/fix-437
fix: don't update url after character-limit
This commit is contained in:
commit
dcc821bc3c
4 changed files with 23 additions and 21 deletions
|
@ -108,10 +108,6 @@ document.addEventListener('DOMContentLoaded', function(){
|
|||
}
|
||||
}
|
||||
|
||||
if (this.charactersLimit !== -1 && this.inputText.length >= this.charactersLimit){
|
||||
this.inputText = this.inputText.substring(0, this.charactersLimit);
|
||||
}
|
||||
|
||||
// Update "selected" attribute (to overcome a vue.js limitation)
|
||||
// but properly display checkmarks on supported browsers.
|
||||
// Also change the <select> width value depending on the <option> length
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue