mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
330f878085
POST logout instead of GET GitOrigin-RevId: b502a6ed945acd336d1a921e5c4c5433d8b7c7b7
9 lines
185 B
JavaScript
9 lines
185 B
JavaScript
define(['base'], function(App) {
|
|
App.directive('autoSubmitForm', function() {
|
|
return {
|
|
link(scope, element) {
|
|
element.submit() // Runs on load
|
|
}
|
|
}
|
|
})
|
|
})
|