mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
fix(nui/js): Use the percent value already being sent by Lua
This commit is contained in:
+2
-2
@@ -25,7 +25,7 @@
|
||||
statusDiv.find('.status_val')
|
||||
.css({
|
||||
'background-color': status[i].color,
|
||||
'width': (status[i].val / 10000) + '%'
|
||||
'width': (status[i].percent) + '%'
|
||||
})
|
||||
;
|
||||
|
||||
@@ -56,4 +56,4 @@
|
||||
});
|
||||
};
|
||||
|
||||
})();
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user