Skip to content

Commit

Permalink
Update distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
souljungkim committed Jun 23, 2019
1 parent e205d8a commit 46ce1fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions dist/js/keyman.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,14 @@ KeyMan.prototype.getShortcutInputByManId = function(manid){
return this.shortcutInputObjs[manid].keyList;
};
KeyMan.prototype.setShortcutInputValue = function(inputElement, keyList, seperator){
//Seperator
seperator = (seperator) ? seperator : ' + ';
//KeyList
var sortedKeyList = this.sortKeyList(keyList);
//Element
if (typeof inputElement == 'string'){
inputElement = document.getElementById(inputElement);
}
inputElement.value = (keyList != null) ? sortedKeyList.join(seperator) : '';
var manid = inputElement.manid;
if (manid){
Expand Down
Loading

0 comments on commit 46ce1fe

Please sign in to comment.