Fix missing Gallery.cb.toggleSlideshow.
This commit is contained in:
parent
fe188e12b3
commit
34888c1dcb
@ -11372,6 +11372,9 @@
|
|||||||
return Gallery.cb.close();
|
return Gallery.cb.close();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
toggleSlideshow: function() {
|
||||||
|
return Gallery.cb[Gallery.slideshow ? 'stop' : 'start']();
|
||||||
|
},
|
||||||
pause: function() {
|
pause: function() {
|
||||||
var current;
|
var current;
|
||||||
Gallery.cb.stop();
|
Gallery.cb.stop();
|
||||||
|
|||||||
@ -11408,6 +11408,9 @@
|
|||||||
return Gallery.cb.close();
|
return Gallery.cb.close();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
toggleSlideshow: function() {
|
||||||
|
return Gallery.cb[Gallery.slideshow ? 'stop' : 'start']();
|
||||||
|
},
|
||||||
pause: function() {
|
pause: function() {
|
||||||
var current;
|
var current;
|
||||||
Gallery.cb.stop();
|
Gallery.cb.stop();
|
||||||
|
|||||||
@ -254,7 +254,8 @@ Gallery =
|
|||||||
click: -> Gallery.cb[if Gallery.nodes.current.controls then 'stop' else 'enterKey']()
|
click: -> Gallery.cb[if Gallery.nodes.current.controls then 'stop' else 'enterKey']()
|
||||||
toggle: -> (if Gallery.nodes then Gallery.cb.close else Gallery.build)()
|
toggle: -> (if Gallery.nodes then Gallery.cb.close else Gallery.build)()
|
||||||
blank: (e) -> Gallery.cb.close() if e.target is @
|
blank: (e) -> Gallery.cb.close() if e.target is @
|
||||||
|
toggleSlideshow: -> Gallery.cb[if Gallery.slideshow then 'stop' else 'start']()
|
||||||
|
|
||||||
pause: ->
|
pause: ->
|
||||||
Gallery.cb.stop()
|
Gallery.cb.stop()
|
||||||
{current} = Gallery.nodes
|
{current} = Gallery.nodes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user