Bug 597494, fixed JS error in tooltips for personas
This commit is contained in:
Родитель
4d52175ea2
Коммит
7a5dfdef13
|
@ -68,8 +68,10 @@
|
|||
{{ big_install_button(addon, show_warning=False) }}
|
||||
|
||||
{% if settings.NEW_COLLECTIONS %}
|
||||
<div class="widgets">
|
||||
{{ favorites_widget(addon) }}
|
||||
{% include 'addons/includes/collection_add_widget.html' %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{# TODO(davedash): Remove until zamboni does sharing
|
||||
|
|
|
@ -2893,13 +2893,8 @@ a.outlink:hover {
|
|||
width: 16px;
|
||||
}
|
||||
.html-rtl .widget.condensed {
|
||||
margin-right: 0;
|
||||
margin-left: .8em;
|
||||
}
|
||||
.widgets .edit {
|
||||
margin-left: .5em;
|
||||
background-position: 0 -350px;
|
||||
}
|
||||
#addon .widgets {
|
||||
clear:left;
|
||||
}
|
||||
|
@ -2909,7 +2904,7 @@ a.outlink:hover {
|
|||
float: left;
|
||||
}
|
||||
.html-rtl #addon .widget { float: right; }
|
||||
.widget.edit:hover { background-position: 0 -300px; }
|
||||
.widget.edit { background-position: 0 -350px; }
|
||||
.widget.edit:hover { background-position: 0 -300px; }
|
||||
.widget.copy { background-position: 0 -50px; }
|
||||
.widget.copy:hover { background-position: 0 0px; }
|
||||
|
|
|
@ -778,7 +778,7 @@ $(document).ready(function () {
|
|||
$(".share-networks", $popup).show();
|
||||
$(".share-email", $popup).hide();
|
||||
$(".share-email-success", $popup).hide();
|
||||
obj.hider();
|
||||
$popup.hideMe();
|
||||
}, 800);
|
||||
} else {
|
||||
$(".share-email-success", $popup).hide();
|
||||
|
|
|
@ -16,6 +16,7 @@ jQuery.fn.tooltip = function(tip_el) {
|
|||
$tgt, $title;
|
||||
|
||||
function setTip() {
|
||||
if (!$tgt) return;
|
||||
var pos = $tgt.offset();
|
||||
|
||||
$msg.text($title.attr("title"));
|
||||
|
|
Загрузка…
Ссылка в новой задаче