Skip to content

Commit

Permalink
Merge pull request #84 from zyspec/master
Browse files Browse the repository at this point in the history
Fix missing javascript for toggle
  • Loading branch information
mambax7 authored Nov 16, 2017
2 parents 3f7751b + 932978c commit 526732a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/funcs.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ function toggle(id) {
}

var iconClose = new Image();
iconClose.src = '../assets/images/links/close12.gif';
iconClose.src = './assets/images/links/close12.gif';
var iconOpen = new Image();
iconOpen.src = '../assets/images/links/open12.gif';
iconOpen.src = './assets/images/links/open12.gif';

function toggleIcon(iconName) {
if (document.images[iconName].src == window.iconOpen.src) {
Expand Down
2 changes: 2 additions & 0 deletions footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
//$xoTheme->addScript(XOOPS_URL . '/browse.php?Frameworks/jquery/jquery.js');
//$xoTheme->addScript(PUBLISHER_URL . '/assets/js/jquery.popeye-2.0.4.js');
//$xoTheme->addScript(PUBLISHER_URL . '/assets/js/publisher.js');
$xoTheme->addScript(PUBLISHER_URL . '/assets/js/cookies.js');
$xoTheme->addScript(PUBLISHER_URL . '/assets/js/funcs.js');

$xoopsTpl->assign('xoops_module_header', '<link rel="alternate" type="application/rss+xml" title="' . $publisher->getModule()->name() . '" href="' . PUBLISHER_URL . '/backend.php">' . @$xoopsTpl->get_template_vars('xoops_module_header'));

Expand Down

0 comments on commit 526732a

Please sign in to comment.