mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
10 lines
215 B
CoffeeScript
10 lines
215 B
CoffeeScript
define [
|
|
"base"
|
|
], (App) ->
|
|
App.directive "stopPropagation", ($http) ->
|
|
return {
|
|
restrict: "A",
|
|
link: (scope, element, attrs) ->
|
|
element.bind attrs.stopPropagation, (e) ->
|
|
e.stopPropagation()
|
|
}
|