##// 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 65 cln.id = 'pstprev_' + pNum;
66 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 72 cln.addEventListener('mouseout', delPostPreview, false);
71 73
@@ -201,8 +201,7 b''
201 201 {% ifequal page current_page.number %}
202 202 class="current_page"
203 203 {% endifequal %}
204 href="{% page_url paginator page %}">{{ page }}</a>
205 {% if not forloop.last %},{% endif %}
204 href="{% page_url paginator page %}">{{ page }}</a>{% if not forloop.last %},{% endif %}
206 205 {% endfor %}
207 206 {% endwith %}
208 207 ]
@@ -61,8 +61,7 b''
61 61 {% ifequal page current_page.number %}
62 62 class="current_page"
63 63 {% endifequal %}
64 href="{% page_url paginator page %}">{{ page }}</a>
65 {% if not forloop.last %},{% endif %}
64 href="{% page_url paginator page %}">{{ page }}</a>{% if not forloop.last %},{% endif %}
66 65 {% endfor %}
67 66 {% endwith %}
68 67 ]
General Comments 0
You need to be logged in to leave comments. Login now