summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/html.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/html.php b/inc/html.php
index f4e6af663..5c1c75cf6 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1390,8 +1390,7 @@ function html_edit(){
$data = array('form' => $form,
'wr' => $wr,
'media_manager' => true,
- 'target' => ($INPUT->has('target') && $wr &&
- $RANGE !== '') ? $INPUT->str('target') : 'section',
+ 'target' => ($INPUT->has('target') && $wr) ? $INPUT->str('target') : 'section',
'intro_locale' => $include);
if ($data['target'] !== 'section') {