Skip to content

Commit f18da36

Browse files
committed
Merge pull request #23 from zero-24/patch-1
Icon for the Toolbar in 3.x
2 parents ba76348 + 0d1229a commit f18da36

File tree

1 file changed

+1
-5
lines changed
  • administrator/components/com_patchtester/views/pulls

1 file changed

+1
-5
lines changed

administrator/components/com_patchtester/views/pulls/view.html.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,8 @@ public function display($tpl = null)
116116
*/
117117
protected function addToolbar()
118118
{
119-
JToolBarHelper::title(JText::_('COM_PATCHTESTER'), 'patchtester');
119+
JToolBarHelper::title(JText::_('COM_PATCHTESTER'), '');
120120
JToolbarHelper::custom('purge', 'delete.png', 'delete_f2.png', 'COM_PATCHTESTER_PURGE_CACHE', false);
121121
JToolBarHelper::preferences('com_patchtester');
122-
123-
JFactory::getDocument()->addStyleDeclaration(
124-
'.icon-48-patchtester {background-image: url(components/com_patchtester/assets/images/icon-48-patchtester.png);}'
125-
);
126122
}
127123
}

0 commit comments

Comments
 (0)