We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbc3092 commit 901041fCopy full SHA for 901041f
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "nodebb-plugin-meilisearch",
3
- "version": "0.5.0",
+ "version": "0.5.1",
4
"description": "A plugin for integrating MeiliSearch with NodeBB",
5
"main": "library.js",
6
"repository": {
static/lib/admin.js
@@ -57,7 +57,7 @@ define('admin/plugins/meilisearch', [
57
element.innerText = `${current}/${total}`;
58
element.setAttribute('aria-valuenow', current);
59
element.setAttribute('aria-valuemax', total);
60
- element.style.width = `${Math.round(current / total) * 100}%`;
+ element.style.width = `${Math.round(100 * current / total)}%`;
61
}
62
63
function saveSettings() {
0 commit comments