func BeforeChange() jqeventrouter.HandlerFunc {
	return func(_ *jquery.Event, _ *js.Object, params url.Values) bool {
		if len(params) == 0 {
			return true
		}
		currentDeck = params.Get("deck")
		js.Global.Get("jQuery").Get("mobile").Call("changePage", "study.html")
		return false
	}
}
// BeforeChange sets the deck if necessary
BeforeChange sets the deck if necessary
// BeforeChange sets the deck if necessary
func BeforeChange() jqeventrouter.HandlerFunc {
	return func(_ *jquery.Event, _ *js.Object, params url.Values) bool {
		if len(params) == 0 {
			return true
		}
		currentDeck = params.Get("deck")
		js.Global.Get("jQuery").Get("mobile").Call("changePage", "study.html")
		return false
	}
}
func BeforeChange ( ) jqeventrouter . HandlerFunc { return func ( _ * jquery . Event , _ * js . Object , params url . Values ) bool { if len ( params ) == 0 { return true } currentDeck = params . Get ( " " ) js . Global . Get ( " " ) . Get ( " " ) . Call ( " " , " " ) return false } }
BeforeChange sets the deck if necessary
BeforeChange sets the deck if necessary