Skip to content
Snippets Groups Projects
Commit 7e4e38eb authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Fixed the Windows share warning (related to #2274)

parent ba18c466
No related branches found
No related tags found
No related merge requests found
......@@ -72,13 +72,13 @@ var dw_behaviour = {
* @author Michael Klier <chi@chimeric.de>
*/
checkWindowsShares: function() {
if(!LANG.nosmblinks || document.all !== null) {
if(!LANG.nosmblinks || typeof(document.all) !== 'undefined') {
// No warning requested or none necessary
return;
}
jQuery('a.windows').live('click', function(){
alert(LANG.nosmblinks);
alert(LANG.nosmblinks.replace(/\\n/,"\n"));
});
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment