# HG changeset patch # User RĂ©mi Cardona # Date 1447421388 -3600 # Node ID 90c55e27aa87add791fce460c652926feff76f0f # Parent 5f0442600a3b7cf8647e952d5ba97ea288d8931b [data] Use correct syntax to unset CSS attributes (closes #8602446) 'default' is actually a recognized CSS cursor name (the regular pointer). Using this value doesn't revert to whatever cursor DOM elements have by default ('pointer' on links, 'text' on text, etc). The proper way to unset a CSS attribute on DOM elements is to set it to an empty string. http://stackoverflow.com/questions/2027935/how-to-remove-css-property-using-javascript diff -r 5f0442600a3b -r 90c55e27aa87 web/data/cubicweb.htmlhelpers.js --- a/web/data/cubicweb.htmlhelpers.js Fri Nov 06 09:41:11 2015 +0100 +++ b/web/data/cubicweb.htmlhelpers.js Fri Nov 13 14:29:48 2015 +0100 @@ -39,7 +39,7 @@ */ function resetCursor(result) { var body = document.getElementsByTagName('body')[0]; - body.style.cursor = 'default'; + body.style.cursor = ''; // pass result to next callback in the callback chain return result; }