|
@@ 225-226 (lines=2) @@
|
| 222 |
|
public function registerPopover($selector = null, $options = array())
|
| 223 |
|
{
|
| 224 |
|
$this->registerTooltip(); // Popover requires the tooltip plugin
|
| 225 |
|
if (!isset($options['selector']))
|
| 226 |
|
$options['selector'] = $selector !== null ? $selector : 'a[rel=popover]';
|
| 227 |
|
$this->registerPlugin(self::PLUGIN_POPOVER, 'body', $options);
|
| 228 |
|
}
|
| 229 |
|
|
|
@@ 251-252 (lines=2) @@
|
| 248 |
|
*/
|
| 249 |
|
public function registerTooltip($selector = null, $options = array())
|
| 250 |
|
{
|
| 251 |
|
if (!isset($options['selector']))
|
| 252 |
|
$options['selector'] = $selector !== null ? $selector : 'a[rel=tooltip]';
|
| 253 |
|
$this->registerPlugin(self::PLUGIN_TOOLTIP, 'body', $options);
|
| 254 |
|
}
|
| 255 |
|
|