1 comment found.
Greetings, I found a bug in your code! If you call get date for today, you get 2017-11-13 instead of 2017-12-13. This code is wrong: return mm = (“0” + t.getMonth() + 1).slice(-2)
it should be: return mm = (“0” + (t.getMonth() + 1)).slice(-2) Thanks, Everardo
Hello, thanks for letting me know! I’ll fix it as soon as I can. Regards!
no worries!
I want to use this code in a project for a client.Can I use my copy or do i have to buy a copy for each client?
feel free to use it, anywhere anytime. Cheers!
I just bought another license. thanks
Emanoil, I think i found another bug: I think you meant: function _fn_hexToRgb(hex) { if (hex null || hex isNaN()? || hex undefined) return null; Thanks, Everardo
function _fn_hexToRgb(hex) {
if (hex null || hex NaN() || hex undefined) return null;
I meant isNaN().
Hi, fixed! You can check all new changes & fixes here http://www.mouse-track.com/fConsole/ (at the bottom). Soon I’ll submit them here too. Thanks
Sorry, another error: switch (options.position) { case “topLeft”: { consoleElement.style.top = “0”; consoleElement.style.left = “0”; consoleElement.style.right = “auto”; consoleElement.style.bottom = “auto”; break; drg_wasDragged = false; }
...
should be: case “topLeft”: { consoleElement.style.top = “0”; consoleElement.style.left = “0”; consoleElement.style.right = “auto”; consoleElement.style.bottom = “auto”; drg_wasDragged = false; break; }
otherwise the code will never be reached for each case statement. Thanks, Everardo
haha yeah – I think I’ll need to re-install re-sharper. Fixed! thanks.
don’t forget to fix the month logic as well. I bought a new version of fconsole but the error is still there. function _fn_getCurrentDate(format) { var d = new Date(), dd = (“0” + d.getDate()).slice(-2), mm = (“0” + (d.getMonth() + 1) ).slice(-2), // 12-15-2017; cunha
hey, I fix that too, but as I said I haven’t uploaded the files to codecanyon yet. Let me an email and I’ll send you the js file with latest updates. Thanks!