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