X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fajax%2FMoveProfileFieldAjaxPage.kt;h=1c050bf7e328b42f52e818801e988f0720e6022f;hb=7afd66a21244e757b6b49ba96bb3989bc55a2abf;hp=e2b039b77efd6172f02d87f14ec5ddd990c6aeb6;hpb=c141e4c4a691323f83c209ffa0df927e989aa2ce;p=Sone.git diff --git a/src/main/kotlin/net/pterodactylus/sone/web/ajax/MoveProfileFieldAjaxPage.kt b/src/main/kotlin/net/pterodactylus/sone/web/ajax/MoveProfileFieldAjaxPage.kt index e2b039b..1c050bf 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/ajax/MoveProfileFieldAjaxPage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/ajax/MoveProfileFieldAjaxPage.kt @@ -31,7 +31,7 @@ class MoveProfileFieldAjaxPage(webInterface: WebInterface) : LoggedInJsonPage("m else -> null }?.let { currentSone.profile = profile - webInterface.core.touchConfiguration() + core.touchConfiguration() createSuccessJsonObject() } ?: createErrorJsonObject("invalid-direction") } catch (e: IllegalArgumentException) {