##// END OF EJS Templates
Show reflink popups from left-top always. Don't insert spaces after comma in...
neko259 -
r1457:f9070df0 default
parent child Browse files
Show More
@@ -65,7 +65,9 b' function showPostPreview(e) {'
65 cln.id = 'pstprev_' + pNum;
65 cln.id = 'pstprev_' + pNum;
66 cln.className = 'post_preview';
66 cln.className = 'post_preview';
67
67
68 cln.style.cssText = 'top:' + y + 'px;' + (x < doc.body.clientWidth/2 ? 'left:' + x + 'px' : 'right:' + parseInt(doc.body.clientWidth - x + 1) + 'px');
68 // var newX = x < doc.body.clientWidth/2 ? 'left:' + x : 'right:' + parseInt(doc.body.clientWidth - x - reflink.width());
69 // var newY = y < doc.body.clientHeight/2 ? 'top:' + y : 'bottom:' + parseInt(doc.body.clientHeight - y - reflink.height());
70 cln.style.cssText = 'left:' + x + 'px; top:' + y + 'px';
69
71
70 cln.addEventListener('mouseout', delPostPreview, false);
72 cln.addEventListener('mouseout', delPostPreview, false);
71
73
@@ -201,8 +201,7 b''
201 {% ifequal page current_page.number %}
201 {% ifequal page current_page.number %}
202 class="current_page"
202 class="current_page"
203 {% endifequal %}
203 {% endifequal %}
204 href="{% page_url paginator page %}">{{ page }}</a>
204 href="{% page_url paginator page %}">{{ page }}</a>{% if not forloop.last %},{% endif %}
205 {% if not forloop.last %},{% endif %}
206 {% endfor %}
205 {% endfor %}
207 {% endwith %}
206 {% endwith %}
208 ]
207 ]
@@ -61,8 +61,7 b''
61 {% ifequal page current_page.number %}
61 {% ifequal page current_page.number %}
62 class="current_page"
62 class="current_page"
63 {% endifequal %}
63 {% endifequal %}
64 href="{% page_url paginator page %}">{{ page }}</a>
64 href="{% page_url paginator page %}">{{ page }}</a>{% if not forloop.last %},{% endif %}
65 {% if not forloop.last %},{% endif %}
66 {% endfor %}
65 {% endfor %}
67 {% endwith %}
66 {% endwith %}
68 ]
67 ]
General Comments 0
You need to be logged in to leave comments. Login now