[fixes] invalid left-hand side expression in postfix operation fixes (#3131)
This commit is contained in:
parent
a346d3385a
commit
4e428d8370
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ frappe.socket = {
|
|||
frappe.socket.file_watcher.on('reload_css', function(filename) {
|
||||
let abs_file_path = "assets/" + filename;
|
||||
const link = $(`link[href*="${abs_file_path}"]`);
|
||||
abs_file_path = abs_file_path.split('?')[0] + '?v=' + +moment();
|
||||
abs_file_path = abs_file_path.split('?')[0] + '?v='+ moment();
|
||||
link.attr('href', abs_file_path);
|
||||
frappe.show_alert({
|
||||
indicator: 'orange',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue