Sha256: 84e6fef24c44a531628132891b9d2880378016df2e2828bca858a3bd92fb7e95
Contents?: true
Size: 835 Bytes
Versions: 11
Compression:
Stored size: 835 Bytes
Contents
Button.func.switch = self => { if ($(self).hasClass('undo')) { $(self).parents(".control").siblings(".before").show(); $(self).parents(".control").siblings(".after").hide(); $(self).parents(".wrap.switch").siblings(".wrap.switch").children(".before").show(); $(self).parents(".wrap.switch").siblings(".wrap.switch").children(".after").hide(); $(self).removeClass("undo"); Button.func.reset(self, "Next"); } else { Button.func.submit(self, "Back", false); $(self).parents(".control").siblings(".before").hide(); $(self).parents(".control").siblings(".after").show(); $(self).parents(".wrap.switch").siblings(".wrap.switch").children(".before").hide(); $(self).parents(".wrap.switch").siblings(".wrap.switch").children(".after").show(); $(self).addClass("undo"); } }
Version data entries
11 entries across 11 versions & 1 rubygems