Skip to content

Commit a9cf8ed

Browse files
committed
Changes, based on @shur's comments
1 parent 471d450 commit a9cf8ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

administrator/includes/toolbar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ public static function versions($typeAlias, $itemId, $height = 800, $width = 500
646646
public static function modal($targetModalId, $icon, $alt)
647647
{
648648
$title = JText::_($alt);
649-
$dhtml = '<button data-toggle="modal" data-target="# ' . $targetModalId . '" class="btn btn-small">
649+
$dhtml = '<button data-toggle="modal" data-target="#' . $targetModalId . '" class="btn btn-small">
650650
<span class="' . $icon . '" title="' . $title . '"></span> ' . $title . '</button>';
651651

652652
$bar = JToolbar::getInstance('toolbar');

administrator/modules/mod_menu/menu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public function renderLevel($depth)
214214

215215
if ($this->_current->link != null && $this->_current->target != null)
216216
{
217-
echo '<a' . $linkClass . ' ' . $dataToggle . ' href="' . $this->_current->link . '" target="' . $this->_current->target . '" >'
217+
echo '<a' . $linkClass . ' ' . $dataToggle . ' href="' . $this->_current->link . '" target="' . $this->_current->target . '">'
218218
. $this->_current->title . $dropdownCaret . '</a>';
219219
}
220220
elseif ($this->_current->link != null && $this->_current->target == null)

0 commit comments

Comments
 (0)