mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 11:29:24 -04:00
from using a single gQuickPane <div> that we move around. A race condition happens when you mouse over two thumbnails quickly. Whichever server response loses the race gets displayed, and sometimes it's the one that you're no longer hovering over. Fix it by changing gQuickPane to be a class and creating a <div> per thumbnail. Fixes ticket #290.
27 lines
879 B
PHP
27 lines
879 B
PHP
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
<? foreach ($button_list->main as $button): ?>
|
|
<a class="<?= $button->class ?> ui-corner-all ui-state-default" href="<?= $button->href ?>"
|
|
title="<?= $button->title ?>">
|
|
<span class="ui-icon <?= $button->icon ?>">
|
|
<?= $button->title ?>
|
|
</span>
|
|
</a>
|
|
<? endforeach ?>
|
|
|
|
<? if (!empty($button_list->additional)): ?>
|
|
<a class="gButtonLink ui-corner-all ui-state-default options" href="#" title="<?= t("additional options") ?>">
|
|
<span class="ui-icon ui-icon-triangle-1-s">
|
|
<?= t("Additional options") ?>
|
|
</span>
|
|
</a>
|
|
|
|
<ul class="gQuickPaneOptions" style="display: none">
|
|
<? foreach ($button_list->additional as $button): ?>
|
|
<li><a class="<?= $button->class ?>" href="<?= $button->href ?>"
|
|
title="<?= $button->title ?>">
|
|
<?= $button->title ?>
|
|
</a></li>
|
|
<? endforeach ?>
|
|
</ul>
|
|
<? endif ?>
|