X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fajax%2FMoveProfileFieldAjaxPage.kt;h=1c050bf7e328b42f52e818801e988f0720e6022f;hp=e2b039b77efd6172f02d87f14ec5ddd990c6aeb6;hb=85b7420f3492af4e5591f62ad673309a76de7e04;hpb=77ada453ff332d62adb0a7820e428f6a0030093f 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) {