Codiad/Codiad — pull request #709 by Andr3as (2014-09-15 12:33:50+00:00)
Title: Fixes wrong tab title after renaming

![1](https://cloud.githubusercontent.com/assets/4389878/4270972/7e002ada-3cd2-11e4-838c-c2ca3aa4621a.png)
![2](https://cloud.githubusercontent.com/assets/4389878/4270971/7df82524-3cd2-11e4-936a-6d01d3947b41.png)

The deletion of the first letter is on absolute path neccessary. The text direction (css property 'direction: rtl;') causes that the file name is always visible. But it causes on strings, which starts with a slash (/)(absolute paths), that the slash is displayed on the end. [Example](http://codepen.io/anon/pen/KjLef)

This behaviour causes the deletion of the first letter on relative paths, if you rename the file.