mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 01:55:34 -05:00
e035d526d6
Restructure frontend directories GitOrigin-RevId: 5a1224ca186f4809df45680a80d374c1c318d7bf
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
|
|
}
|
|
}
|
|
})
|
|
})
|