summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Borg <jakob@nym.se>2016-05-04 20:30:18 +0000
committerAudrius Butkevicius <audrius.butkevicius@gmail.com>2016-05-04 20:30:18 +0000
commit591959261c1ea8d1652878cf7e2eb4eda509665b (patch)
tree2a00bd8c699da8658ed83b0d5a23346f61bba6e0
parent459930df094b751d0a950598fe0cb1ec2094d705 (diff)
gui: Fix comparison operator in expression (ref #3035)
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3036
-rwxr-xr-xgui/default/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/default/index.html b/gui/default/index.html
index d0793e03c2..8fbc46607d 100755
--- a/gui/default/index.html
+++ b/gui/default/index.html
@@ -366,7 +366,7 @@
</table>
</div>
<div class="panel-footer">
- <button type="button" class="btn btn-sm btn-danger pull-left" ng-click="override(folder.id)" ng-if="folderStatus(folder) == 'outofsync' && folder.type = 'readonly'">
+ <button type="button" class="btn btn-sm btn-danger pull-left" ng-click="override(folder.id)" ng-if="folderStatus(folder) == 'outofsync' && folder.type == 'readonly'">
<span class="fa fa-arrow-circle-up"></span>&nbsp;<span translate>Override Changes</span>
</button>
<span class="pull-right">