File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
WordPress/src/main/java/org/wordpress/android/ui/posts Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 4141import android .webkit .URLUtil ;
4242import android .widget .Toast ;
4343
44+ import org .wordpress .android .BuildConfig ;
4445import org .wordpress .android .Constants ;
4546import org .wordpress .android .JavaScriptException ;
4647import org .wordpress .android .R ;
@@ -2034,6 +2035,7 @@ public void onEditorFragmentInitialized() {
20342035 fillContentEditorFields ();
20352036 // Set the error listener
20362037 if (mEditorFragment instanceof EditorFragment ) {
2038+ mEditorFragment .setDebugModeEnabled (BuildConfig .DEBUG );
20372039 ((EditorFragment ) mEditorFragment ).setWebViewErrorListener (new ErrorListener () {
20382040 @ Override
20392041 public void onJavaScriptError (String sourceFile , int lineNumber , String message ) {
You can’t perform that action at this time.
0 commit comments