17 lines
363 B
CoffeeScript
17 lines
363 B
CoffeeScript
###
|
|
Salet interface configuration.
|
|
###
|
|
undum = require('./undum.js')
|
|
$(document).ready(() ->
|
|
$("#ways").on("click", "a", (event) ->
|
|
event.preventDefault()
|
|
undum.processClick($(this).attr("href"))
|
|
)
|
|
$("#inventory").on("click", "a", (event) ->
|
|
event.preventDefault()
|
|
)
|
|
$("#load").on("click", "a", (event) ->
|
|
window.location.reload()
|
|
)
|
|
)
|