no-next-zoom
This commit is contained in:
parent
38b4127fce
commit
f6591f69b5
2 changed files with 3 additions and 2 deletions
|
@ -249,6 +249,7 @@ editor = {
|
||||||
if (editor._loading_geometry) return;
|
if (editor._loading_geometry) return;
|
||||||
if ($(this).attr('href') === '') return;
|
if ($(this).attr('href') === '') return;
|
||||||
if ($(this).is('[data-force-next-zoom]')) editor._next_zoom = true;
|
if ($(this).is('[data-force-next-zoom]')) editor._next_zoom = true;
|
||||||
|
if ($(this).is('[data-no-next-zoom]')) editor._next_zoom = false;
|
||||||
editor.sidebar_get($(this).attr('href'));
|
editor.sidebar_get($(this).attr('href'));
|
||||||
},
|
},
|
||||||
_sidebar_submit_btn_click: function() {
|
_sidebar_submit_btn_click: function() {
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
{% for item in objects %}
|
{% for item in objects %}
|
||||||
{% if forloop.counter0|divisibleby:10 %}
|
{% if forloop.counter0|divisibleby:10 %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ back_url }}">« {{ back_title }}</a></td>
|
<td><a href="{{ back_url }}" data-no-next-zoom>« {{ back_title }}</a></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ back_url }}">« {{ back_title }}</a></td>
|
<td><a href="{{ back_url }}" data-no-next-zoom>« {{ back_title }}</a></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue