Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Wrong call to React library
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Sep 28, 2015
1 parent b3b2464 commit c594b85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/plugins/gui.ajax/res/themes/orbit/html/gui.html
Expand Up @@ -23,7 +23,9 @@
var ajaxplorer, startParameters = {}, MessageHash={};
//AJXP_JSON_START_PARAMETERS
document.observe("ajaxplorer:before_gui_load", function(e){
React.initializeTouchEvents(true);
if(window.React){
React.initializeTouchEvents(true);
}
ajaxplorer.currentThemeUsesIconFonts = true;
pydio.Parameters.set('currentThemeUsesIconFonts', true);
document.documentElement.className += " ajxp_theme_orbit";
Expand Down

0 comments on commit c594b85

Please sign in to comment.