summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-03-21 23:19:59 +0100
committerMorris Jobke <morris.jobke@gmail.com>2013-03-21 23:19:59 +0100
commit8871629db577395e1f9d018ba1b62b5be8114620 (patch)
tree74f4fa6130f1a144f514d29e635cfc6ca0e02003 /core/js
parenta1a6ef940906b93364e682621f095bfbc10ff041 (diff)
downloadnextcloud-server-8871629db577395e1f9d018ba1b62b5be8114620.tar.gz
nextcloud-server-8871629db577395e1f9d018ba1b62b5be8114620.zip
replace hardcoded css style with css class - ref owncloud/core#173
Diffstat (limited to 'core/js')
-rw-r--r--core/js/share.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js
index 36b5f6bdd7a..ca9c8f04eae 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -241,7 +241,8 @@ OC.Share={
var insert = '';
if(item.label.length > 8 && item.label.substr(item.label.length-8) === ' (group)') {
// current label is group
- insert = ' style="font-weight:bold;"';
+ insert = ' class="ocGroup"'; // attribute to insert
+ // remove "(group)"
item.label = item.label.substring(0, item.label.length-8)
}
return $( "<li>" )