mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Add call counter
This commit is contained in:
@ -818,4 +818,19 @@ function requestUserScreen() {
|
||||
});
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Rpad function
|
||||
*
|
||||
* @param {String} str The string
|
||||
* @param {number} len Expected length
|
||||
* @param {string} fill Fill character
|
||||
*/
|
||||
function rpad(str, len, fill) {
|
||||
str = String(str)
|
||||
fill = String(fill)
|
||||
while(str.length < len)
|
||||
str = fill + str
|
||||
return str
|
||||
}
|
Reference in New Issue
Block a user